How to import numpy into pypy sandbox

Pypy has a numpy plug. How to use it in pypy sandbox ?

At the command line, "There is no module named numpy."

However, when I tried to copy the numpy library to the lib_pypy directory, I received this error message. Is there any way to import numpy into pypy sandbox ?

import numpyTraceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/bin/lib_pypy/numpy/__init__.py", line 160, 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 interpreter from there.
+4
source share
1 answer

You cannot import numpy into isolated PyPy, sorry.

. PyPy , imho, . , - . , "" : , ( Python, ).

+3

All Articles