1. 完整报错:
ImportError:  Importing the multiarray numpy extension module failed.  Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean -xdf` (removes all files not under version control).  Otherwise reinstall numpy. Original error was: DLL load failed: 

报错原因不一定一样,但是解决方案一致,解决方案请看 5
2. 翻译:

导入异常:导入多数组numpy扩展模块失败。很可能您正在尝试导入一个失败的numpy构建。如果您使用的是一个numpy的git repurchase,请尝试git clean-xdf(删除不在版本控制下的所有文件)。否则重新安装numpy。原来的错误是:DLL加载失败:
- 我的bug 出现:

import matplotlib 类库

- 原因:

numpy版本问题,需要更新版本,但是根据使用的python控制组件不同解决方案不一样

- 解决方案:

  • 如果是anconda安装的numpy以及其他类库,直接使用conda upgrade numpy即可.aconda会一起更新其它组件,如图:
  • 第二种pip安装的numpy,可以直接pip install --upgrade numpy.也可以先卸载,再清除numpy剩下的文件
  • 如果是其他管理工具效果推测应该是同理,但是没有测试
  • 如果都不是,二是原生组件那建议还是先安装pip,或者换用其他管理组件,建议使用anconda

Python运行异常 Original error was: DLL load failed:相关推荐

  1. Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块

    Python运行异常 问题描述 During handling of the above exception, another exception occurred:Traceback (most r ...

  2. Original error was: DLL load failed: 找不到指定的模块。--解决办法

    问题描述:今天装了一下pytorch,在pycharm中运行代码时显示下面错误:Original error was: DLL load failed: 找不到指定的模块.查找原因后发现是在pycha ...

  3. jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath:

    jupyter notebook导入numpy 失败 报错:Original error was: DLL load failed while importing _multiarray_umath: ...

  4. 运行 skimage 报错ImportError: DLL load failed:找不到指定模块

    经常遇到的一个问题 运行 skimage 报错ImportError: DLL load failed:找不到指定模块,花了2个小时逐个排查,以及网上找原因验证,最终解决了. 通过一下安装仍会报错 p ...

  5. vscode虚拟环境运行文件报错ImportError: DLL load failed: 找不到指定的模块的问题

    题主使用anaconda创建了虚拟环境,通过cmd命令行安装了一些必要的库,但当我在vscode使用该虚拟环境时却发现vscode一直报错说我有一些库没安装上,比如numpy. Traceback ( ...

  6. Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。

    在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...

  7. python3.7运行 skimage 报错ImportError: DLL load failed:找不到指定模块

    from skimage.feature import match_template 报错 原因网上查询并且可以正确解决的方法: 解决方法:下载安装numpy+mkl (下载链接 https://ww ...

  8. 当python导入包时,出现DLL load failed while impoting _path错误

    很可能是我上次杀毒的时候清掉了某种东西 可以在微软官网上去找这个:Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 a ...

  9. jupyter notebook出现DLL load failed while importing _multiarray_umath: 找不到指定的模块

    安装gpu版本的pytorch之后,在pycharm上测试没出现问题而在jupyter notebook却出现问题 问题描述: import torch E:\Miniconda3\envs\d2l\ ...

最新文章

  1. Servlet 请求的转发
  2. P3项目全球模板狗血设计之三 --- 发货到成本中心需要创建预留单
  3. linux nat span端口镜像,端口镜像span、rspan实现数据检测
  4. 如何面试java后端_近期面试Java后端的一些感悟
  5. php amp ldquo 转换,php与html代码的若干转换
  6. 科技管理的作业选题 很重要
  7. 网页调用摄像头_【WebAR】虚拟现实来到网页——WebXR Device API第二部分
  8. PHP快还是HTML快,PHP_HTML-加速、再加速,web开发人员是否必须掌握复杂 - phpStudy...
  9. 分享一个免费短信猫OCX源码
  10. 总结定时器设计方法_钢结构刚性固定钢柱脚设计方法总结,看完不仅懂操作,还懂了原理...
  11. php ajax传值中文乱码问题,PHP Ajax JSON中文乱码各种问题解决办法
  12. leetcode求众数
  13. 兼容浏览器的insertAdjacentHTML
  14. 【排列组合、思维】Combinatorics Homework
  15. DirectoryEntry配置IIS7出现ADSI Error:未知错误(0x80005000)
  16. 自然语言处理模型:bert 结构原理解析——attention+transformer(翻译自:Deconstructing BERT)
  17. NFS动态分配PV理解
  18. 【LeetCode】词典中最长的单词(附集合操作、lamda用法)
  19. uoj#311. 【UNR #2】积劳成疾(期望dp)
  20. 如何在Windows端开启关闭MySQl数据库

热门文章

  1. Python名称空间是什么?
  2. SQL基本语句及用法
  3. 一个SQL Server Sa密码破解的存储过程
  4. vue表格导出到Excel
  5. 设计模式--六大原则
  6. Spring 中策略模式的 2 个经典应用,可以用来怼面试官了
  7. 天天用Synchronized,底层原理是个啥?
  8. 北大 AI 公开课 2019 | 颜水成:人工智能行业观察与实践
  9. 没有读过的书,就不要瞎推荐了!
  10. Consul 原理和使用简介