Deploying a Django app on AWS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 24: | Line 24: | ||
$ sudo yum list | grep python3 | $ sudo yum list | grep python3 | ||
$ sudo yum install python34 # or relevant version | $ sudo yum install python34 # or relevant version | ||
</syntaxhighlight> | |||
=== Install `virtualenv` === | |||
<syntaxhighlight lang="bash"> | |||
$ pip install virtualenv | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 14:28, 6 February 2016
Prerequisites
Install Python
Check for python and pip, and their versions:
$ python --verison $ pip --version
Python 3.x
Python 3.x is often invoked as python3.
$ python3 --verison
If Python 3 is not installed:[1]
$ sudo yum list | grep python3 $ sudo yum install python34 # or relevant version
Install virtualenv
$ pip install virtualenv
Notes
See also
- Deploying a Django Application - AWS Elastic Beanstalk documentation
- Common Steps for Deploying Python Applications - AWS Elastic Beanstalk documentation
- Installing Python - AWS Elastic Beanstalk documentation
References
- ↑ How do I install python3 on an AWS instace (Stackoverflow)