[Python-modules-team] building python-numpy on

Sandro Tosi morph at debian.org
Thu Oct 6 07:06:45 UTC 2011


On Thu, Oct 6, 2011 at 08:40, Faheem Mitha <faheem at faheem.info> wrote:
> Ran 3541 tests in 44.650s
>
> OK (KNOWNFAIL=3, SKIP=4)
> [255665 refs]
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "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.

you have to fix the tests "trick" to avoid importing numpy from . but
from the installed location. Or disable test completely.

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the Python-modules-team mailing list