Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit [2011-10-18 16:00] – Lars Bahren | public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit [2011-10-18 16:07] – Lars Bahren | ||
---|---|---|---|
Line 9: | Line 9: | ||
* [[#CMake]] | * [[#CMake]] | ||
* [[#Python]] | * [[#Python]] | ||
+ | * [[#Numpy]] | ||
+ | * [[#Scipy]] | ||
+ | * [[# | ||
- [[# | - [[# | ||
Line 114: | Line 117: | ||
Finally install the required packages using the following command: | Finally install the required packages using the following command: | ||
- | | + | <code bash> |
+ | fink install numpy-py26 scipy-py26 matplotlib-py26 pyfits-py26 ipython-py26 | ||
+ | </ | ||
Unfortunately Fink also automatically installs a basic python 2.7 which does not work with the current version of boost python. | Unfortunately Fink also automatically installs a basic python 2.7 which does not work with the current version of boost python. | ||
Therefore remove this installation using: | Therefore remove this installation using: | ||
- | | + | <code bash> |
+ | sudo fink remove -r python27 python27-shlib | ||
+ | </ | ||
Also make sure that python points to the default python by creating the correct symlink. | Also make sure that python points to the default python by creating the correct symlink. | ||
- | | + | <code bash> |
+ | sudo ln -s / | ||
+ | </ | ||
And check if your path is set correctly | And check if your path is set correctly | ||
- | | + | <code bash> |
+ | which python | ||
+ | </ | ||
| | ||
should give you | should give you | ||
- | | + | < |
+ | / | ||
+ | </ | ||
=== Manually compile from source === | === Manually compile from source === | ||
Line 163: | Line 176: | ||
If you are running 64-bit, it will be 9223372036854775807, | If you are running 64-bit, it will be 9223372036854775807, | ||
- | == Numpy == | + | === Numpy === |
Download the source code for the latest stable version of numpy [[http:// | Download the source code for the latest stable version of numpy [[http:// | ||
Then extract and install using | Then extract and install using | ||
Line 170: | Line 184: | ||
sudo python setup.py install | sudo python setup.py install | ||
- | == Scipy == | + | === Scipy === |
- | Download the source code for the latest stable version of scipy [[http:// | + | |
- | Then extract and install using | + | - Download the source code for the latest stable version of scipy [[http:// |
- | tar xvf scipy-0.7.2.tar.gz | + | |
- | cd scipy-0.7.2 | + | tar xvf scipy-0.7.2.tar.gz |
- | sudo python setup.py install | + | </ |
+ | | ||
+ | cd scipy-0.7.2 | ||
+ | sudo python setup.py install | ||
+ | </ | ||
+ | |||
+ | === Matplotlib === | ||
- | == Matplotlib == | ||
Compiling a 64bit version of matplotlib is a bit more involved. | Compiling a 64bit version of matplotlib is a bit more involved. | ||
We need the latest SVN checkout of the matplotlib source code. | We need the latest SVN checkout of the matplotlib source code. |