Project

General

Profile

Actions

Install supporting packages » History » Revision 15

« Previous | Revision 15/26 (diff) | Next »
Neil Voss, 05/12/2010 09:51 AM


Install supporting packages

Install any missing prerequisite supporting packages by following the instructions for your specific Linux distribution.

For example, SUSE users can use YaST to install them; RedHat and CentOS users can use yum, Debian and Ubuntu uses apt-get.

We highly recommend using pre-built binary packages to install the programs. Installing from source can quickly become a nightmare! See also the previous page, Instructions_for_installing_CentOS_on_your_computer for Red Hat based systems.

Required supporting packages:

Name: Download site: yum package name SuSE rpm name
Python 2.4 or newer http://www.python.org python python-devel
wxPython 2.5.2.8 or newer http://www.wxpython.org wxPython python-wxGTK
MySQL Python client 1.2 or newer http://sourceforge.net/projects/mysql-python MySQL-python python-mysql
Python Imaging Library (PIL) 1.1.4 or newer http://www.pythonware.com/products/pil/ python-imaging python-imaging
NumPy 1.0.1 or newer http://www.scipy.org numpy numpy
SciPy 0.5.1 (tested, others may work)* http://www.scipy.org scipy python-scipy

In the past, the Python XML module was require but may not be anymore http://pyxml.sourceforge.net/topics/

Scipy/Numpy

  • SciPy may not build from source properly on some versions of SuSE due to an incompatible LAPACK package that comes with SuSE. You can get scipy as well as a compatible LAPACK etc. from http://repos.opensuse.org/science (need to specify your SuSE version and machine etc.)

You can test your numpy and scipy install with their build in test functions:

python -c 'import numpy; numpy.test(level=1)'
python -c 'import scipy; scipy.test(level=1)'

Numpy is more stable should be successful. Expect to see lots of errors with scipy.

Mac OS X 10.5+:

You can successfully install most of these packages on a Mac by downloading DMG files and clicking on the install programs. This is not for novice Mac user.

  1. First, start by downloading the Mac OS X Installer Disk Image (v2.6 recommended) from http://python.org/download/ and install the newer version of python
  2. Download and install numpy and scipy DMG files from http://sourceforge.net/projects/numpy/files/ and http://sourceforge.net/projects/scipy/files/
  3. Download and install wxPython DMG file from http://www.wxpython.org/download.php
Other program need more work:
  1. The Python Imaging Library (PIL) has be compiled from source, which also requires the Mac OS X Developer tools to be installed.

Download Appion Files >


Updated by Neil Voss over 14 years ago · 15 revisions