[Numpy-discussion] Problems with numpy

Benjamin Root ben.root at ou.edu
Thu Feb 24 11:40:17 EST 2011


On Thu, Feb 24, 2011 at 10:35 AM, Mustapha BOUIKHIF <
mustapha.bouikhif at idris.fr> wrote:

> Benjamin,
>
> I am not in numpy install dir and have the error however:
>
> #python
> Python 2.6 (r26:66714, Nov  9 2010, 01:31:57)
> [GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import os
>  >>> os.getcwd()
> *'/home/idris/cos/scos190'*
>  >>> import numpy
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "/usr/local/lib64/python2.6/site-packages/numpy/__init__.py",
> line 127, 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.
>
>
>
Are there any directories called "numpy" in /home/idris/cos/scos190?  Could
you try cd-ing over to another directory and trying again?

Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110224/824fb970/attachment.html>


More information about the NumPy-Discussion mailing list