[Numpy-discussion] installing numpy and scipy on OS X 10.4
W Bradley Knox
Wed Sep 17 12:42:25 CDT 2008
Okay, nevermind. I was able to install using the Superpack, even
though I'm using MacPython (ActivePython is supposedly required).
On Wed, Sep 17, 2008 at 11:54 AM, W Bradley Knox <firstname.lastname@example.org> wrote:
> Hi everyone,
> I'm trying to install numpy and scipy on my Mac that runs OS X 10.4.
> It looks like my only option is to use the subversion copies. After
> running "python setup.py install" in the numpy directory, it seems to
> install, despite some error messages tucked away in the middle of the
> installation output (I can send that if I need to).
> Trying to import numpy fails though:
>>>> import numpy
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy/__init__.py",
> line 116, in <module>
> raise ImportError(msg)
> ImportError: Error importing numpy: you should not try to import numpy from
> its source directory; please exit the numpy source tree, and relaunch
> your python intepreter from there.
> This happens from any directory, including /. Any thoughts on how I
> could fix this?
> Or I could also try another installation method. The numpy binaries
> worked previously but then scipy didn't work with them, and this
> discussion (http://projects.scipy.org/pipermail/numpy-discussion/2008-August/036480.html)
> advised installing them both from svn.
More information about the Numpy-discussion