如何处理PyCharm中导入numpy包时出现的RuntimeError异常?

2026-05-05 08:202阅读0评论SEO资源
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计222个文字,预计阅读时间需要1分钟。

如何处理PyCharm中导入numpy包时出现的RuntimeError异常?

:使用PyCharm导入numpy包时出现RuntimeError错误:The current Numpy installation...

内容:在使用PyCharm导入numpy包时遇到RuntimeError错误,错误信息如下:RuntimeError: The current Numpy installation (‘D:\python3.6\lib\site-packages\numpy\init.py’ -> settings -> project interpreter -> (建议使用python3.6版本,我之前使用的是3.8版本)。

解决方案:建议将Python版本更改为3.6,以解决此问题。

标题用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),

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

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异常?

到此这篇关于解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题的文章就介绍到这了,更多相关pycharm导入numpy包报错内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!

标签:使用时

本文共计222个文字,预计阅读时间需要1分钟。

如何处理PyCharm中导入numpy包时出现的RuntimeError异常?

:使用PyCharm导入numpy包时出现RuntimeError错误:The current Numpy installation...

内容:在使用PyCharm导入numpy包时遇到RuntimeError错误,错误信息如下:RuntimeError: The current Numpy installation (‘D:\python3.6\lib\site-packages\numpy\init.py’ -> settings -> project interpreter -> (建议使用python3.6版本,我之前使用的是3.8版本)。

解决方案:建议将Python版本更改为3.6,以解决此问题。

标题用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),

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

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异常?

到此这篇关于解决pycharm导入numpy包的和使用时报错:RuntimeError: The current Numpy installation (‘D:\\python3.6\\lib\\site-packa的问题的文章就介绍到这了,更多相关pycharm导入numpy包报错内容请搜索易盾网络以前的文章或继续浏览下面的相关文章希望大家以后多多支持易盾网络!

标签:使用时