Open main menu

Changes

Installation mac

No change in size, 16:01, 8 August 2013
β†’β€ŽThe official way: Better list formatting.
# '''Python:''' First download the latest 2.7 version from the [http://www.python.org/download/ Official Python website].
#** This should be the DMG file labelled as '''Python 2.7.x Mac OS X 64-bit/32-bit x86-64/i386 Installer (for Mac OS X 10.6 and later)'''.#** Open the DMG file, double click on the '''Python.mpkg''' file, and follow the instructions.#** The Python binary should now be located at '''/usr/local/bin/python'''. This is actually a symbolic link pointing to '''/Library/Frameworks/Python.framework/Versions/2.7/bin/python'''.
# '''wxPython:''' Download the wxPython Development 2.9 DMG file from the [http://wxpython.org/download.php#unstable official wxPython website].
#** The link should be called '''wxPython2.9-osx-cocoa-py2.7'''.#** Open the DMG file, double click on the '''wxPython2.9-osx-cocoa-py2.7.pkg''' file, and follow the instructions.
# '''Numpy:''' Download the latest Numpy DMG file from the [http://sourceforge.net/projects/numpy/files/NumPy/ sourceforge download site].
#** This should be the DMG file '''numpy-1.x.x-py2.7-python.org-macosx10.3.dmg'''.#** Open the DMG file, double click on the '''numpy-1.x.x-py2.7.mpkg''' file, and follow the instructions.
# '''Scipy:''' Download the latest Scipy DMG file from the [http://sourceforge.net/projects/scipy/files/scipy/ sourceforge download site].
#** This should be the DMG file '''scipy-0.xx.x-py2.7-python.org-macosx10.3.dmg'''.#** Open the DMG file, double click on the '''scipy-0.xx.x-py2.7.mpkg''' file or equivalent, and follow the instructions.
# '''Mpi4py:''' This is for running on multi-processor machines, for the analyses in relax which support it. Download the file from the [https://code.google.com/p/mpi4py/downloads/list mpi4py download site].
#** Note, this will require an up to date version of XCode installed on your system, as the code will be compiled.#** Download the file labelled as '''mpi4py-1.x.x.tar.gz'''.#** Open this through the Finder to unpackage the archive into the '''~/Downloads/mpi4py-1.x.x/''' directory.#** Open a terminal and type, replacing the x's with the current version, the following to get into the correct directory:
<source lang="bash">
$ cd Downloads/mpi4py-1.x.x
</source>
#** Then to be sure the correct Python version is being used, type:
<source lang="bash">
$ sudo /Library/Frameworks/Python.framework/Versions/2.7/bin/python setup.py install
</source>
# '''SCons:''' This is required to build the relax C modules. Download the file form the [http://www.scons.org/download.php SCons download site].
#** Download the file called '''scons-2.x.x.tar.gz'''.#** Open this through the Finder to unpackage the archive into the '''~/Downloads/scons-2.x.x/''' directory.#** Open a terminal and type, replacing the x's with the current version, the following to get into the correct directory:
<source lang="bash">
$ cd Downloads/scons-1.x.x
</source>
#** Then to be sure the correct Python version is being used, type:
<source lang="bash">
$ sudo /Library/Frameworks/Python.framework/Versions/2.7/bin/python setup.py install
</source>
#** This will install scons into '''/usr/local/bin/scons'''.#** To compile the C modules, the minfx package must be installed first. Please see below.
Trusted, Bureaucrats
4,223

edits