[Numpy-discussion] import error after compiling from HEAD

Joshua Holbrook josh.holbrook at gmail.com
Sat Mar 12 17:08:12 EST 2011

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?

josh at 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



More information about the NumPy-Discussion mailing list