Installing PyAMG 2.0 on Mac

80 views
Skip to first unread message

Jacob

unread,
Mar 8, 2011, 4:59:56 PM3/8/11
to pyamg-user
Here's a list of steps that I used to install PyAMG 2.0 on my Mac.
Feel free to add your own experiences installing on a Mac to this
thread.

If you're using Ubuntu, or something similar, just use a package
manager to install the various Python modules outline below in steps
2-7.

There are 9 steps, but each one should be painless.

(1) Install the developer tools from
http://developer.apple.com/technologies/tools/

(2) Get Python 2.6 -- Download and install the .dmg from
http://www.python.org/download/releases/2.6.6/

(3) Get NumPy -- Download and install the Py2.6 .dmg from
http://sourceforge.net/projects/numpy/files/NumPy/1.4.1/

(4) Get SciPy -- Download and install the Py2.6 .dmg from
http://sourceforge.net/projects/scipy/files/scipy/0.7.1/

(5) Get Nose -- Download the 0.11.3 version at
http://code.google.com/p/python-nose/downloads/list

You'll have to un-tar and install Nose yourself with
$ tar -xvf nose-0.11.3.tar
$ cd nose-0.11.3
$ python setup.py build
$ sudo python setup.py install

(6) Get iPython -- Download the compressed source archive in .tar.gz
format from
http://ipython.scipy.org/moin/Download

You'll have to un-tar and install iPython, just like you did for
Nose.

(7) Get Matplotlib -- Download and install the Py2.6 .dmg from
http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/

(8) Get Paraview at http://www.paraview.org/paraview/resources/software.html

(9) Finally download and install PyAMG from
http://code.google.com/p/pyamg/downloads/list

You'll have to un-tar the .tar.gz file and install just like you
did for Nose.

Finally, you'll want to go into iPython and run
>>> import numpy
>>> numpy.test()
>>> import scipy
>>> scipy.test()
>>> import pyamg
>>> pyamg.test()

Jacob
Reply all
Reply to author
Forward
0 new messages