我可以使用带有内置python的numpy。但随着python3.5解释,它说不能使用python3.5导入numpy,但可以使用python2.7导入
ImportError: No module named 'numpy'
但是当我键入$ sudo pip3 install numpy
它说
"Requirement already satisfied: numpy in /root/.local/lib/python3.6/site-packages"
我该怎么办? 在此先感谢。
可以请你精确的问题你正在尝试你的代码在python3.5和sitepackage位置在python3.6? – Gahan
但是如果你仍然面临问题,那么检查你的python路径是否在系统环境中。 – Gahan