[Numpy-discussion] numpy issues at startup
Turner, Todd J Civ USAF AFMC AFRL/RXLMP
Todd.Turner at wpafb.af.mil
Tue Jun 2 14:35:47 EDT 2009
All right, here goes...
>>> print numpy.__file__
/home/d1/turnertj/Python-2.5.4/lib/python2.5/site-packages/numpy/numpy/__init__.pyc
[turnertj at daneel numpy]$ ls
add_newdocs.py ctypeslib.pyc dual.py _import_tools.py lib numarray setup.py tests
core distutils f2py __init__.py linalg oldnumeric setup.pyc version.py
ctypeslib.py doc fft __init__.pyc matlib.py random testing version.pyc
-----Original Message-----
From: numpy-discussion-bounces at scipy.org [mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Robert Kern
Sent: Tuesday, June 02, 2009 2:24 PM
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] numpy issues at startup
On Tue, Jun 2, 2009 at 13:19, Turner, Todd J Civ USAF AFMC AFRL/RXLMP
<Todd.Turner at wpafb.af.mil> wrote:
> I’m having some numpy problems when using the package with Python. My admin
> installed numpy for me and we think it’s installed right. When I’m in
> python and type ‘import numpy’ I get the “Running numpy from source
> directory”. It doesn’t matter which directory I launch python out of, it
> always gives me the same errors and then can’t do anything simple like
> numpy.ones() or any other routine. Any ideas? Do I have a path variable
> set wrong?
Please do the following:
$ python
>>> import numpy
>>> print numpy.__file__
That should show you where the numpy on your sys.path is. Double-check
that it is in the place you think it is. If so, move to that directory
(e.g. /usr/lib/python2.5/site-packages/numpy/) and show us what is in
there:
$ cd /usr/lib/python2.5/site-packages/numpy/
$ ls
....
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list