Deploying a Django app on AWS: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:AWS Category:Django Category:Python Category:Web Development == Prerequisites == === Install Python === Check for python and pip, and their versions...") |
|||
| Line 9: | Line 9: | ||
$ python --verison | $ python --verison | ||
$ pip --version | $ pip --version | ||
</syntaxhighlight> | |||
==== Python 3.x ==== | |||
Python 3.x is often invoked as `python3`. | |||
<syntaxhighlight lang="bash"> | |||
$ python3 --verison | |||
</syntaxhighlight> | |||
If Python 3 is not installed: | |||
<syntaxhighlight lang="bash"> | |||
$ sudo yum list | grep python3 | |||
$ sudo yum install python34 # or relevant version | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 14:20, 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:
$ sudo yum list | grep python3 $ sudo yum install python34 # or relevant version