Open main menu

Changes

Installation mac

20 bytes added, 16:01, 9 August 2013
The [http://plasma-gate.weizmann.ac.il/Grace/ Grace] software is used for visualisation of 2D data sets.
=== The official way === 
The most reliable way to install relax on your system is to use the official Python releases. The steps are:
* '''=== Python:''' === ** First check if you have the latest Python 2.7 installed, before installing the newest. Search in Spotlight for '''Terminal''', and write here
<source lang="bash">
which python
python --version
</source>
** If needed, download the latest 2.7 version from the [http://www.python.org/download/ Official Python website].<br>** 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)'''.<br>** Open the DMG file, double click on the '''Python.mpkg''' file, and follow the instructions.<br>** 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'''.<br>* === Check out a relax branch===** You can see the different relax branches [http://svn.gna.org/viewcvs/relax/ here.]. '''Subversion''' is necessary, and should be shipped with [ http://subversion.apache.org/packages.html#osx OS X].
<source lang="bash">
which svn
cd $HOME/Downloads
</source>
** To check out the relax_disp or trunk branch using the subversion client, simply type:
<source lang="bash">
svn co svn://svn.gna.org/svn/relax/trunk relax_trunk
svn co svn://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
** If this svn command does not work, try:
<source lang="bash">
svn co http://svn.gna.org/svn/relax/trunk relax_trunk
svn co http://svn.gna.org/svn/relax/branches/relax_disp relax_disp
</source>
* '''=== Numpy:'''===** First check if you have numpy installed in the current python installation. <source lang="bash">python import numpy numpy.__version__; numpy.__file__ # Exit python with: Ctrl+d** </source>If needed, download the latest Numpy DMG file from the [http://sourceforge.net/projects/numpy/files/NumPy/ sourceforge download site].<br>** This should be the DMG file '''numpy-1.x.x-py2.7-python.org-macosx10.x.dmg'''.<br>** Open the DMG file, double click on the '''numpy-1.x.x-py2.7.mpkg''' file, and follow the instructions.<br>
* '''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'''.
Trusted, Bureaucrats
1,382

edits