[SciPy-User] installing scipy on OS X 10.6 Snow Leopard
Pierre GM
pgmdevlist at gmail.com
Wed Nov 18 19:40:03 EST 2009
On Nov 18, 2009, at 6:13 PM, Rich E wrote:
> Hi list,
>
> I just joined because I've had this mac for over a month and I still can't get a working module of scipy in Snow Leopard. The dmg says it needs 'python 2.6 or newer', but the one that comes with Snow Leopard is 2.6.1.
So you're set: 2.6.1 is more recent than 2.6...
But you probably shouldn't use a dmg: install Scipy from sources, it's far easier to help you.
Assuming you have xcode installed, and a proper gfortran (I think this one is the recommended one: http://r.research.att.com/tools/)
* Install numpy first. make a local install by using the --user flag when calling python setup.py install. No need to install an additional Python if you use --user, you won't be messing with your system
* Then, install scipy, using the --user flag as well. Don't bother for UMFPACK for the moment
* You may want to set CFLAGS="-arch x86_64" before installing numpy and scipy.
* Let me know where your problems are (off-list for now to reduce the noise), post the log of your build somewhere.
Don't worry, it's straightforward, provided you stick to the Python that comes w/ SnowLeopard
Good luck
P.
More information about the SciPy-User
mailing list