我已经在ubuntu上安装了numpy。它在终端上工作正常,但是当我想将其导入到我的工作目录时,它向我显示此错误
Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy'
答案 0 :(得分:0)
尝试一下:
sudo pip install numpy
也是这个
sudo pip install spyder (numpy is included)
或
sudo easy_install numpy