What to Install
For CSC120, you can work on your assignments in the Department of Computer Science computer labs. If you would like to work on your own computer, you will need to install a few things. In each case, please check to make sure you download the right package for your machine.
-
Python 2.5.1: the Python programming language.
- Most windows machines: python-2.5.1.msi
- 64-bit windows machines: python-2.5.1.ia64.msi (Win64-Itanium) or python-2.5.1.amd64.msi (Win64-AMD64)
- Mac OS X: python-2.5.1-macosx.dmg
-
Wing 101 IDE: the application we use to edit and run
Python programs.
- Windows: windows installer
-
Mac OS X:
- X11 (install it from 'Optional programs' on your Mac OS X install disc)
- Wing IDE 101 (Power PC) or Wing IDE 101 (Intel)
-
Run Wing and look at the Python Shell: it should say
Python 2.5.1. If it does not, then run Terminal and copy
and paste the following (type your Mac account password
when it prompts you to do so):
cd /usr/bin
sudo -s
rm python
ln -s /Library/Frameworks/Python.framework/Versions/Current/bin/python python
exit
-
nose: this is a set of functions for automatically
testing your own programs.
- Windows:
- Step 1: Install setuptools (install the Python 2.5 version)
- Step 2: Run DOS Command Prompt
-
Step 3: In DOS type:
path=%path%;newdir(wherenewdiris replaced with the location of the Python 2.5 scripts, which is probably something like C:\Python25\Scripts) -
Step 4: In DOS Type:
easy_install nose
- Mac OS X:
- Step 1: Install setuptools (install the Python 2.5 version)
- Step 2: Open a terminal window
-
Step 3: type:
easy_install nose
- Windows:
- matplotlib: (a plotting package)
- Windows:
- Step 1: Install and install NumPy (numpy-1.0.4.win32-p3-py2.5.msi)
- Step 2: Install matplotlib (matplotlib-0.91.2.win32-py2.5.exe)
- Windows:
- Mac OS X:
- Step 1: Download NumPy (numpy-1.0.4-py2.5-wing32.egg)
- Step 2: In a terminal window, run "easy_install /Users/your_username/Desktop/numpy-1.0.4-py2.5-wing32.egg" (where /Users/your_username/Desktop is replaced with the location of the egg file).
- Step 3: Download matplotlib (matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg)
- Step 4: In a terminal window, run "easy_install /Users/your_username/Desktop/ matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg" (where /Users/your_username/Desktop is replaced with the location of the egg file).
- Windows: PIL-1.1.6.win32-py2.5.exe
- Mac OS X: PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg