Difference between revisions of "Mac Intel Instructions"
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
** Get the stable version, available '''[http://www.riverbankcomputing.co.uk/pyqt/download.php here]'''. (The latest snapshot version is [http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ here]) | ** Get the stable version, available '''[http://www.riverbankcomputing.co.uk/pyqt/download.php here]'''. (The latest snapshot version is [http://www.riverbankcomputing.com/Downloads/Snapshots/PyQt4/ here]) | ||
** Uncompress the file, and inside the directory, type '''python configure.py'''. Then '''make''' and '''make install''' | ** Uncompress the file, and inside the directory, type '''python configure.py'''. Then '''make''' and '''make install''' | ||
* Install Numpy | |||
** Get it [http://pythonmac.org/packages/py24-fat/mpkg/numpy-1.0b5-py2.4-macosx10.4.mpkg.zip here] | |||
* Install Scipy | * Install Scipy |
Revision as of 22:20, 25 July 2007
Specific instructions for Mac OS X 10.3.9 and later, Intel or PPC
- Make sure you have xcode installed. If you don't have it, get it here (You'll need a Mac Developer Account)
- Install Python
- Mac Intel comes with Python 2.3.5. We need Python 2.4. There is a Universal Binary available here
- Maybe your path variable was not updated. Using Finder, go to Applications > MacPython 2.4 . There is a script there called Update Shell Profile.command that adds the new Python to your .bash_profile.
- You can test the installation typing python -V in the shell. You should see Python 2.4.4
- Install Python Extensions
- Install VTK CVS version (Skip this step if you won't use VTK)
- First you'll need CMake: get the latest release here
- Then you can get vtk: follow the instructions to download the CVS source code on this page
- (Skip this step if you don't need to run CORIE workflows) Follow these instructions to add CORIE and other needed files to VTK.
- To compile VTK follow the instructions in the file README.html in the root of VTK directory tree
- On configuring CMake, make sure that the variables VTK_WRAP_PYTHON, VTK_USE_GUISUPPORT, VTK_USE_DISPLAY, VTK_USE_CARBON are ON and VTK_USE_QVTK, VTK_USE_COCOA, VTK_USE_X are OFF
- It is recommended to create a environment variable called PYTHONPATH
- export PYTHONPATH=<path/to/vtk_build>/Wrapping/Python:<path/to/vtk_build>/bin:.
- Install Qt 4.2.0 or above
- You can get the open source version for MAC here
- Uncompress the file and inside the uncompressed directory run configure then make and finally sudo make install
- Add the usr/local/Trolltech/Qt-4.2.x/bin to the PATH variable
- Install GraphViz
- There are Mac OS X builds of nightly snapshots here
- Add the usr/local/graphviz-version/bin to the PATH variable
- Install SIP
- Install PyQt4
- Install Numpy
- Get it here
- Install Scipy
- Get it here
- Install Matplotlib
- Get it here
- If you want to install cdat from source on mac intel, follow these instructions.