public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
public:user_software:cr-tools:installation_mac_os_x_10.6_64_bit [2011-10-18 16:00] Lars Bahrenpublic: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]]
 +    * [[#Matplotlib]]
   - [[#Installing CR-Tools]]   - [[#Installing CR-Tools]]
  
Line 114: Line 117:
 Finally install the required packages using the following command: Finally install the required packages using the following command:
  
-  fink install numpy-py26 scipy-py26 matplotlib-py26 pyfits-py26 ipython-py26+<code bash> 
 +fink install numpy-py26 scipy-py26 matplotlib-py26 pyfits-py26 ipython-py26 
 +</code>
  
 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:
  
-  sudo fink remove -r python27 python27-shlib+<code bash> 
 +sudo fink remove -r python27 python27-shlib 
 +</code>
  
 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.
  
-  sudo ln -s /sw/bin/python2.6 /sw/bin/python+<code bash> 
 +sudo ln -s /sw/bin/python2.6 /sw/bin/python 
 +</code>
  
 And check if your path is set correctly And check if your path is set correctly
  
-  which python+<code bash> 
 +which python 
 +</code>
      
 should give you should give you
  
-  /sw/bin/python+<code> 
 +/sw/bin/python 
 +</code>
  
 === Manually compile from source === === Manually compile from source ===
Line 163: Line 176:
 If you are running 64-bit, it will be 9223372036854775807, for 32 bit it will print 2147483647, if the latter is the case please check what went wrong before continuing. If you are running 64-bit, it will be 9223372036854775807, for 32 bit it will print 2147483647, if the latter is the case please check what went wrong before continuing.
  
-== Numpy ==+=== Numpy ==
 Download the source code for the latest stable version of numpy [[http://sourceforge.net/projects/numpy/files/NumPy/1.4.1/numpy-1.4.1.tar.gz/download|here]]. Download the source code for the latest stable version of numpy [[http://sourceforge.net/projects/numpy/files/NumPy/1.4.1/numpy-1.4.1.tar.gz/download|here]].
 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://sourceforge.net/projects/scipy/files/scipy/0.7.2/scipy-0.7.2.tar.gz/download|here]]. + 
-Then extract and install using +  - Download the source code for the latest stable version of scipy [[http://sourceforge.net/projects/scipy/files/scipy/0.7.2/scipy-0.7.2.tar.gz/download|here]]. 
-  tar xvf scipy-0.7.2.tar.gz +  - Extract the tar-archive: <code bash> 
-  cd scipy-0.7.2 +tar xvf scipy-0.7.2.tar.gz 
-  sudo python setup.py install+</code> 
 +  - Build and install Scipy: <code bash> 
 +cd scipy-0.7.2 
 +sudo python setup.py install 
 +</code> 
 + 
 +=== 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.
  • Last modified: 2017-03-08 15:27
  • by 127.0.0.1