Quick links to:
All of our programming will be done using version 2.7 of the Python programming language (we are NOT using Python 3 in this course). Python is free and open-source, and is easy to install on Windows, Mac, and Linux platforms. We will use a distribution of Python that is graciously provided by Enthought Scientific Computing Solutions. Go to the appropriate section below for your operating system — Linux, MacOS, or Windows
If you have any problems, please send email to the course staff so that we can help you with this essential step.
Note: Although you may find a full list of installers here, we recommend you jump to the specific instructions for your Operating System below.
In Windows 8, to find out whether you are running a 64-bit or 32-bit operating system, go to settings->PC info, then look at System type. For Windows 7, see http://windows.microsoft.com/en-us/windows7/find-out-32-or-64-bit
Then type:
python --versionThe output should start with Python 2.7.13 -- Enthought, Inc. (x86_64).
python
or ipython
from the Canopy Command Prompt Window.
For example, to run python, type python
bash canopy-2.1.8.rh6-x86_64-cp27.shYou will be told:
You can run the Canopy graphical environment by running the script: /home/rea/Canopy/canopy or by selecting 'Canopy' in your Applications menu. On your first run, your Canopy User Python environment will be initialized, and you will have the opportunity to make Canopy be your default Python at the command line. Details at support.enthought.com/forumsMore information on Linux installation can be found here.
(In Canopy, select the "Tools" menu at the top of the window and then select "Canopy Terminal" ) and typing:
python --versionThe output should start with Python 2.7.13 -- Enthought, Inc. (x86_64).
python
or ipython
from the Canopy Terminal.
For example, to run python, type python .
(In Canopy, select the "Tools" menu at the top of the window and then select "Canopy Terminal" ) and typing:
python --versionThe output should start with Python 2.7.13 -- Enthought, Inc. (x86_64).
python
or ipython
from the Canopy Terminal.
For example, to run python, type python