Changeset 1071 for trunk/web/osx.html
- Timestamp:
- 07/05/06 11:30:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/osx.html
r664 r1071 34 34 ?> 35 35 <!-- Start Content --> 36 <h1>ASAP OS X (10.4)install</h1> 37 This might or might not work with 10.3. Obviously, steps specific for 38 10.4 have to be omitted. 36 <h1>ASAP OS X (10.4) install</h1> 37 This might or might not work with 10.3. 39 38 <h2>Getting stuff</h2> 40 39 <a href="http://pythonmac.org/packages">pythonmac.org</a> has 41 pre-packaged pythonmodules.40 a pre-packaged python and some modules. 42 41 <br> 43 From the section <b> Mac OS X 10.4 (stock Python 2.3.5)</b>44 <br>get 42 From the section <b>Packages for Universal...</b> 43 <br>get and install 45 44 <ul> 46 45 <li> 47 46 <a 48 href="http://pythonmac.org/packages/TigerPython23Compat.pkg.zip">TigerPython23Compat</a> </li> 47 href="http://pythonmac.org/packages/py24-fat/dmg/Universal-MacPython-2.4.3-2006-04-07.dmg">Python</a> </li> 48 <li> 49 <a 50 href="http://pythonmac.org/packages/py24-fat/mpkg/matplotlib-0.87.2-py2.4-macosx10.4.mpkg.zip">matplotlib</a> </li> 49 51 </ul> 50 From the section <b>Mac OS X 10.3 (stock Python 2.3.0) </b> 51 <br>get 52 You also need to get numpy: 52 53 <ul> 53 54 <li> 54 55 <a 55 href="http://pythonmac.org/packages/Numeric-23.7-py2.3-macosx10.3.zip">Numeric</a> </li> 56 <li> 57 <a 58 href="http://pythonmac.org/packages/numarray-1.1.1-py2.3-macosx10.3.zip">numarray</a> </li> 59 <a 60 href="http://pythonmac.org/packages/matplotlib-0.82-py2.3-macosx10.3.zip">matplotlib</a> </li> 56 href="http://prdownloads.sourceforge.net/numpy/numpy-0.9.6-py2.4-macosx10.4.dmg?download">numpy</a> </li> 61 57 </ul> 62 58 <br> 63 Next get <a href="http://ipython.scipy.org/dist ">ipython</a> and run:<br>59 Next get <a href="http://ipython.scipy.org/dist/ipython-0.7.2.tar.gz">ipython</a> and run:<br> 64 60 <pre> 65 tar zxvf ipython-0.6.15.tar.gz66 61 sudo python setup.py install 67 sudo ln -s ../../System/Library/Frameworks/Python.framework/Versions/2.3/bin/ipython /usr/bin/ipython68 62 </pre> 69 70 63 from within the ipython-0.7.2 directory. 64 <br> 65 Then 66 <pre> 67 sudo ln -s /Library/Frameworks/Python.framework/Versions/2.4/bin/ipython /usr/bin/ipython 68 </pre> 71 69 <h2>Tweaking it</h2> 72 70 Run the following in a terminal:<br> 73 OSX comes with your own pimp pre-installed, so better use him!<br> 74 <pre> 75 sudo python `python -c "import pimp; print pimp.__file__"` -i readline 76 </pre> 77 78 Then as 'root' or 'sudo' edit<br> 79 <b>/System/Library/Frameworks/Python.framework/Versions/2.3/share/matplotlib/.matplotlibrc</b><br> 71 As 'root' or 'sudo' edit<br> 72 <b>/System/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/matplotlib/mpl-data/matplotlibrc</b><br> 80 73 In this file replace<br> 81 <b> backend : GTKAgg</b><br>74 <b> backend : WXAgg</b><br> 82 75 with<br> 83 76 <b> backend : TkAgg</b><br> 84 <p>85 Now we have to patch matplotlib:86 Get <a href="./figure.py">this</a> and run:<br>87 <pre>88 sudo cp -f figure.py /Library/Python/2.3/matplotlib/89 </pre>90 77 91 78 <h2>Oh yeah there is ASAP, too</h2>
Note:
See TracChangeset
for help on using the changeset viewer.