[SciPy-user] Installing numpy

David Arnold dwarnold45 at suddenlink.net
Sun Nov 18 00:06:10 EST 2007


All,

Mac OS X 10.4.11 PPC.

Installed python from this:

http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg

Installation finishes with "There were errors installing the  
software. Please try installing again." Installing again makes no  
difference, but Python appears to be running:

darnold $ python
Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04)
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>>

Downloaded numpy from:  http://downloads.sourceforge.net/numpy/ 
numpy-1.0.4.tar.gz?use_mirror=internap

After unpacking and changing directories, simply did this:

numpy-1.0.4 $ python setup.py install

Seem to finish OK. But testing according to README.txt resulted in:

numpy-1.0.4 $ python -c 'import numpy; numpy.test()'
Running from numpy source directory.
Traceback (most recent call last):
   File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'test'

Any ideas or advice?

Thanks

David.







More information about the SciPy-User mailing list