Deploying a Django app on AWS: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
Line 19: Line 19:
</syntaxhighlight>
</syntaxhighlight>


If Python 3 is not installed:
If Python 3 is not installed:<ref>[http://stackoverflow.com/questions/27669927/how-do-i-install-python3-on-an-aws-ec2-instance How do I install python3 on an AWS instace] (Stackoverflow)</ref>


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 25: Line 25:
$ sudo yum install python34 # or relevant version
$ sudo yum install python34 # or relevant version
</syntaxhighlight>
</syntaxhighlight>
== Notes ==
<references />

Revision as of 14:21, 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


Notes