解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题

标题用pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation ('D:\python3.6\lib\site-packages\numpy\init.py

1.file→settings→project interpreter→+(建议用pychon3.6版本,我之前用3.8版本安装不上numpy),

解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题

2.搜索numpy,注意把下面对号点上

解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题

3.现在简单用numpy还是会报错:RuntimeError: The current Numpy installation ('D:\python3.6\lib\site-packages\numpy\init.py
这时pycharm的命令框输入pip install numpy==1.19.3,之后就可以用了

解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题