[Numpy-discussion] help getting started

David Cournapeau cournape at gmail.com
Fri Apr 10 14:10:07 EDT 2009


On Sat, Apr 11, 2009 at 2:30 AM, John Seales <praxbaffle at hotmail.com> wrote:
> Intel mac.
> Python 2.6.
>
> I'm trying to start using numpy and scipy, and am having trouble.
>
> I'm trying to install numpy following the instructions on
> http://scipy.org/Installing_SciPy/Mac_OS_X .
>
> when I give the python setup.py build command, it doesn't work. Here's my
> interaction at the terminal:
>
> john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy
> johnseales$ python setup.py build
>
> This is the wrong setup.py file to run
> john-seales-computer:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy
>
> Anybody have any ideas how I can get up and runnng?

nothing :) It looks like you have already installed numpy
(site-packages is the directory where all python packages like numpy
get installed by default).

You just have to run the python interpreter, and import numpy. That
is, if you can do:

python -c "import numpy"

It means you have numpy installed.

David



More information about the NumPy-Discussion mailing list