当前位置:   article > 正文

引用Numpy问题:Importing the numpy C-extensions failed. This error can happen formany reasons..._pycharm importing the numpy c-extensions failed.

pycharm importing the numpy c-extensions failed.

问题描述

在Pycharm中运行关于numpy的代码时出现如下错误

ImportError: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

解决方法 

numpy与python版本不匹配,将numpy版本降至1.18.1

  1. conda uninstall numpy
  2. conda install numpy==1.18.1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/595845
推荐阅读
相关标签
  

闽ICP备14008679号