[Numpy-discussion] import error after compiling from HEAD

Ralf Gommers ralf.gommers@googlemail....
Sun Mar 13 06:14:13 CDT 2011


On Sun, Mar 13, 2011 at 6:08 AM, Joshua Holbrook
<josh.holbrook@gmail.com> wrote:
> Sup y'all,
>
> I just installed numpy from github, but when I tried to import it I
> got some odd errors! What's going on, and how can it be fixed?

Are you in the numpy source tree when trying that command? If not, try
to clean ("git clean -xdf") and rebuild. If then you still get the
same issue, give us the build command you used, compiler versions, OS,
etc.

Cheers,
Ralf


>
> josh@pidgey:~$ python -c 'import numpy; numpy.test()'
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "/usr/local/lib/python2.6/dist-packages/numpy/__init__.py",
> line 137, in <module>
>
>  File "/usr/local/lib/python2.6/dist-packages/numpy/add_newdocs.py",
> line 9, in <module>
>    from numpy.lib import add_newdoc
>  File "/usr/local/lib/python2.6/dist-packages/numpy/lib/__init__.py",
> line 4, in <module>
>    #
>  File "/usr/local/lib/python2.6/dist-packages/numpy/lib/type_check.py",
> line 8, in <module>
>  File "/usr/local/lib/python2.6/dist-packages/numpy/core/__init__.py",
> line 10, in <module>
>    #
> ImportError: No module named _sort
>
>
> Thanks,
>
> --Josh
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the NumPy-Discussion mailing list