Permissions on python setup.py install
Labitt, Bruce
labittb1 at tycoelectronics.com
Tue Feb 12 14:39:31 EST 2008
Thanks. That was it. I knew it was simple...
________________________________
From: Shawn O'Shea [mailto:shawn at eth0.net]
Sent: Tuesday, February 12, 2008 2:34 PM
To: Labitt, Bruce
Cc: gnhlug-discuss at mail.gnhlug.org
Subject: Re: Permissions on python setup.py install
Don't be in the numpy src dir.
dhcp91:~/Download/numpy-1.0.4 shawn$ pwd
/Users/shawn/Download/numpy-1.0.4
dhcp91:~/Download/numpy-1.0.4 shawn$ python -c 'import numpy;
numpy.test()'
Running from numpy source directory.
Traceback (most recent call last):
File "<string>", line 1, in ?
AttributeError: 'module' object has no attribute 'test'
dhcp91:~ shawn$ pwd
/Users/shawn
dhcp91:~ shawn$ python -c 'import numpy; numpy.test()'
Numpy is installed in
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.
4/site-packages/numpy
Numpy version 1.0.4
Python version 2.4.4 (#1, Jul 27 2007, 14:03:05) [GCC 4.0.1 (Apple
Computer, Inc. build 5367)]
Found 10/10 tests for numpy.core.defmatrix
Found 36/36 tests for numpy.core.ma
Found 223/223 tests for numpy.core.multiarray
Found 62/62 tests for numpy.core.numeric
Found 31/31 tests for numpy.core.numerictypes
Found 12/12 tests for numpy.core.records
Found 6/6 tests for numpy.core.scalarmath
Found 14/14 tests for numpy.core.umath
Found 4/4 tests for numpy.ctypeslib
Found 5/5 tests for numpy.distutils.misc_util
Found 1/1 tests for numpy.fft.fftpack
Found 3/3 tests for numpy.fft.helper
Found 9/9 tests for numpy.lib.arraysetops
Found 46/46 tests for numpy.lib.function_base
Found 5/5 tests for numpy.lib.getlimits
Found 4/4 tests for numpy.lib.index_tricks
Found 3/3 tests for numpy.lib.polynomial
Found 49/49 tests for numpy.lib.shape_base
Found 15/15 tests for numpy.lib.twodim_base
Found 43/43 tests for numpy.lib.type_check
Found 1/1 tests for numpy.lib.ufunclike
Found 40/40 tests for numpy.linalg
Found 2/2 tests for numpy.random
Found 0/0 tests for __main__
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
........................................................................
.........................................
----------------------------------------------------------------------
Ran 689 tests in 0.565s
OK
-Shawn
On 2/12/08, Labitt, Bruce <labittb1 at tycoelectronics.com> wrote:
I'm trying install numpy on a linux box. Everything went ok until the
"end" when setup complained about having insufficient permissions. I
then installed as root. The install seemed to go ok, but the example
file in the readme doesn't run.
$ python -c 'import numpy; numpy.test()'
Running from numpy source directory
Traceback (most recent call last):
File "<string>", line 1, in?
AttributeError: 'module' object has no attribute 'test'
What should I look for? TIA
-Bruce
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss at mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20080212/a8f5b654/attachment-0001.html
More information about the gnhlug-discuss
mailing list