[Numpy-discussion] question about scipy superpack
Tue Aug 7 13:24:09 CDT 2012
I'm on 10.8 and am using the Apple Mac OS X Mountain Lion python (2.7.2).
Here's what I ended up doing, FWIW:
- I installed "pip" (sudu easy_install pip)
- I installed virtualenv
- created a new virtual environment [recommended since superpack installs a
bunch of development versions of the packages and updates fairly often]
- ran the scipy superpack install script
- it installed DateUtils 0.5.2, which is way old - I removed it and
installed 1.5 instead (with easy_install python-dateutil==1.5)
Result: ipython and SWIG are now running just fine for my code, but I got
some errors in the scipy tests which I need to follow up on. Also, I got a
message that gfortran failed to install because I didn't sudo since I
thought I didn't need to because I was installing to a virtual environment.
Not sure if scipy errors are related to gfortran missing.
Thanks to Mr. Chris Fonnesbeck for publishing the Scipy Superpack, you
saved me a ton of time!
The answer to my specific question is that yes, the arrayobject.h header is
included in the numpy egg, which is easy to see since eggs are really just
directories (last night I thought they were some kind of binary)!
Further note, I had to change ipython's "pylab" setting to "osx".
On Tue, Aug 7, 2012 at 1:07 PM, Ralf Gommers <email@example.com> wrote:
> On Tue, Aug 7, 2012 at 6:05 PM, Thiago Franco Moraes <
> firstname.lastname@example.org> wrote:
>> A little off-topic, but related: Which python version do you recommend
>> to install in Mac OS X 10.8? The native one? The one from python.org?
>> or the one compiled via homebrew? And do you think it's better to use
>> the 32 or 64 bits?
> Depends on what you want to do / what packages you want to use. Perhaps
> python.org + official installers (dmgs from Sourceforge), perhaps EPD /
> SciPy Superpack / ....
> Without knowing more, I would just advise to not use Apple Python, and to
> use binary installers (10.8 is so fresh, you'll likely run into a few
> issues with source installs).
> NumPy-Discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion