You basically first install the MacPorts package manager, and then install programs like explained on their site: sudo port install python27 py27-numpy py27-scipy py27-matplotlib py27-ipython. I followed this approach successfully with Mac OS X Lion. If you are ready to follow a longer term approach, I would advise that you go through the MacPorts package manager: they have all this software packaged, and it just works. And when I "import pylab" it throws up a ton of error messages. Now I've done a clean install of matplotlib 1.1 in hopes that it works. I was worried it could be because I had matplotlib 1.1 installed before, so I followed instructions to clean uninstall matplotlib followed by installation with scipy-superpack. it's python launcher app-icon, but just says "python" for the name) bounces in the app tray and eventually freezes. But as I was working on practice problems, I found that matplotlib is not working at all anymore. It seemed like it worked, Numpy did work with some example code they provided on python 2.7. Which somehow installs numpy 2.0, Scipy (0.11), Matplotlib (1.2), iPython (0.12), Pandas (0.5.1) as well as PyMC (2.2 alpha). Now in a real bind, so I eventually found this: (This strange in retrospect, because I heard python 2.7 and numpy ships with mac but when I tried using sample code from the numpy website it failed.) I go and install python 2.6, But python 2.6 doesn't work app-icon bounces and automatically quits. Unfortunately numpy ver1.6 only supports up python 2.6. Okay, so here's what's happened: I wanted to install numpy/scipy onto my mac, which runs 10.7. What could I have done instead in order to get these items working together? Should I just move everything to windows 7 (I'd prefer not, but if it's the only reliable way.)
0 Comments
Leave a Reply. |