Pypy有一个numpy的分支。如何在pypy沙盒中使用它?
沙盒提示“没有名为numpy的模块”。
然而,当我尝试将numpy库复制到lib_pypy目录中时,我收到了这个错误消息。有没有一种方法可以在pypy沙盒中导入numpy?
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.