解决“No module named ‘numpy‘”
首先在cmd中 python -m pip install --upgrade pip pip install numpy 然后重启pycharm之后,import numpy as np发现依然报错,此时打开pycharm File——Settings——Project:python file——Python Interpreter——添加Package包——搜索numpy——Install Package
首先在cmd中 python -m pip install --upgrade pip pip install numpy 然后重启pycharm之后,import numpy as np发现依然报错,此时打开pycharm File——Settings——Project:python file——Python Interpreter——添加Package包——搜索numpy——Install Package
共有 0 条评论