Install supporting packages » History » Version 15
Neil Voss, 05/12/2010 09:51 AM
1 | 1 | Amber Herold | h1. Install supporting packages |
---|---|---|---|
2 | |||
3 | 5 | Neil Voss | Install any missing prerequisite supporting packages by following the instructions for your specific Linux distribution. |
4 | 1 | Amber Herold | |
5 | 5 | Neil Voss | For example, SUSE users can use YaST to install them; RedHat and CentOS users can use @yum@, Debian and Ubuntu uses @apt-get@. |
6 | 1 | Amber Herold | |
7 | 5 | Neil Voss | 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. |
8 | |||
9 | 1 | Amber Herold | h3. Required supporting packages: |
10 | |||
11 | |_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name| |
||
12 | |Python 2.4 or newer| "http://www.python.org":http://www.python.org|python|python-devel| |
||
13 | |wxPython 2.5.2.8 or newer| "http://www.wxpython.org":http://www.wxpython.org|wxPython|python-wxGTK| |
||
14 | |MySQL Python client 1.2 or newer| "http://sourceforge.net/projects/mysql-python":http://sourceforge.net/projects/mysql-python|MySQL-python|python-mysql| |
||
15 | |Python Imaging Library (PIL) 1.1.4 or newer| "http://www.pythonware.com/products/pil/":http://www.pythonware.com/products/pil/|python-imaging|python-imaging| |
||
16 | |NumPy 1.0.1 or newer| "http://www.scipy.org":http://www.scipy.org|numpy|numpy| |
||
17 | 15 | Neil Voss | |SciPy 0.5.1 (tested, others may work)*| "http://www.scipy.org":http://www.scipy.org|scipy|python-scipy| |
18 | 1 | Amber Herold | |
19 | 13 | Neil Voss | In the past, the Python XML module was require but may not be anymore "http://pyxml.sourceforge.net/topics/":http://pyxml.sourceforge.net/topics/ |
20 | 1 | Amber Herold | |
21 | 6 | Neil Voss | h3. Scipy/Numpy |
22 | |||
23 | 5 | Neil Voss | * 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.) |
24 | 1 | Amber Herold | |
25 | You can test your numpy and scipy install with their build in test functions: |
||
26 | <pre> |
||
27 | python -c 'import numpy; numpy.test(level=1)' |
||
28 | python -c 'import scipy; scipy.test(level=1)' |
||
29 | </pre> |
||
30 | 2 | Amber Herold | |
31 | 4 | Neil Voss | Numpy is more stable should be successful. Expect to see lots of errors with scipy. |
32 | 6 | Neil Voss | |
33 | 11 | Neil Voss | h3. Mac OS X 10.5+: |
34 | |||
35 | 14 | Neil Voss | 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. |
36 | 6 | Neil Voss | |
37 | 8 | Neil Voss | # 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 |
38 | 9 | Neil Voss | # Download and install numpy and scipy DMG files from http://sourceforge.net/projects/numpy/files/ and http://sourceforge.net/projects/scipy/files/ |
39 | 1 | Amber Herold | # Download and install wxPython DMG file from http://www.wxpython.org/download.php |
40 | 14 | Neil Voss | |
41 | Other program need more work: |
||
42 | # The Python Imaging Library (PIL) has be compiled from source, which also requires the "Mac OS X Developer tools":http://developer.apple.com/technologies/tools/ to be installed. |
||
43 | |||
44 | 2 | Amber Herold | ______ |
45 | |||
46 | [[Download Appion Files|Download Appion Files >]] |
||
47 | 3 | Amber Herold | |
48 | ______ |