Monday, November 25, 2013

Install Python on Amazon EC2 Windows 2008 Instance

Download and Install Python:

http://python.org/download/

That page has all the versions with or without source for different operating systems - the lasted for windows without source at time of this writing:

http://python.org/ftp/python/3.3.3/python-3.3.3.msi

Add python to your Path environment variable:
-- Go to start, control panel
-- In search box on top right type "env" and hit enter.
-- Click on Edit the environment variables
-- Click on Environment Variables button
-- In bottom box scroll down until you see the "Path" environment variable - click on it and then edit button
-- At the of the path string add a semicolon and the path to your Python folder. Mine by default was: ;C:\Python33\;
-- hit all the ok, yeah, sure buttons...

Open a new command line window and type the following to see that Python is running:
python --help
 
You'll see a bunch of output like this line followed by a bunch of commands you can run:
usage: python [option] ...