-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Installing
totlmstr edited this page Oct 25, 2013
·
9 revisions
Last update: 2009-08-09
- Getting a scientific Python distribution will often include a working Cython out of the box:
-
- Sage (Sage 4.1.1 (available in source form as of this writing) includes Cython 0.11.2)
- Python(x,y) Works on Windows too, contains Cython 0.11.2
Ubuntu 9.4 contains Cython 0.10.
(On Ubuntu, make sure to first uninstall the cython package, which takes precedence.)
- Download latest release from http://cython.org and untar or unzip it
- Run (as superuser or similar)
python setup.py install
- In addition, a C compiler and the necesarry Python development environment are needed:
-
-
Ubuntu/Debian:
sudo apt-get install python-dev build-essential(untested, please report back if more packages are needed here) - Mac OS X: Install XCode (usually bundled with the Mac OS X installation disks)
- Windows: See InstallingOnWindows.
-
Ubuntu/Debian: