脚本宝典收集整理的这篇文章主要介绍了python pandas报错: ImportError: Unable to import required dependencies:numpy :Importing the numpy C-extensions failed.,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
昨天尝试 使用 python 来处理文件, 本想着今天 一早就能看到结果 没想到今天开机的时候发现 任务并没有完成 于是打开试了下发现 报错了....
报错如下:
ImportError: Unable to import required dependencies:numpy :
Importing the numpy C-extensions failed. This error can happen formany reasons, often due to issues with your setup or how NumPy wasinstalled.
网上查了下 好像是版本numpy版本问题 于是手动更新
在 Anaconda Prompt 中 pip uninstall numpy ;pip install numpy
再次运行程序 就可以运行了!
完整报错如下:
ImportError: Unable to import required dependencies:numpy:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen formany reasons, often due to issues with your setup or how NumPy wasinstalled.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.8 from "C:UsersEDZanaconda3python.exe" * The NumPy version is: "1.18.5"
and make sure that they are the versions you expect.Please carefully study the documentation linked above for further help.
Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块。
以上是脚本宝典为你收集整理的python pandas报错: ImportError: Unable to import required dependencies:numpy :Importing the numpy C-extensions failed.全部内容,希望文章能够帮你解决python pandas报错: ImportError: Unable to import required dependencies:numpy :Importing the numpy C-extensions failed.所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。