PyCharm ImportError: No module named 'numpy' 但用 pip3 install numpy 又显示 已经下载

terminal 里下载的 numpy 可能不在当前的 env 下。所以直接去当前的 interpreter 里 下载

如果 Python Interpreter 啥也没有, 就退出 PyCharm(不是关闭窗口,是退出)

去项目所在文件夹 删除隐藏文件  .ideal  

再打开 PyCharm 即可

原文地址:https://www.cnblogs.com/lzzkz/p/15356464.html