Installing GIPSY on Mac OS X may be complicated by the fact that
software can be obtained from various places . E.g., Fink, MacPorts, etc.
Also software which has already been installed may interfere.
The approach that worked for us is largely derived from the information
on the web page
Installing Python, ...
(on "This is the Green Room").
For more information and hints, please visit that page.
Note: that page is no longer updated. Here is a more recent version.
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" brew update brew doctorTo add the Homebrew directory to your system path, edit .bash_profile and add the line
export PATH=/usr/local/bin:$PATHThen restart Terminal to make this effective.
brew install gfortranSo we obtained it from http://gcc.gnu.org/wiki/GFortranBinaries and installed from gfortran-4.6.2-x86_64-Lion.dmg we found there.
brew install xaw3d
brew install python --framework --universalThen add the following to .bash_profile:
export PATH=/usr/local/share/python:$PATHAgain, restart Terminal to make this effective. Finally change OS X's symlink to point at your new Python install. Run the following three lines in sequence:
cd /System/Library/Frameworks/Python.framework/Versions sudo rm Current ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current
pip install numpy
pip install pyfits
pip install matplotlib or, if this fails: pip install -e git+https://github.com/scipy/scipy#egg=scipy-dev
brew install pyqtAfter installing pyqt, brew will prompt you to add the following to your python path in .bash_profile:
brew install wget(only required when the all-in-one installation script gipsy_install.csh is used)