直接给出出错原因:anaconda环境变量配置出现了问题,或者说是环境变量配置不完整。

出错样式可能五花八门,最后提示均是DLL load failed while importing _imaging: 找不到指定的模块。我们找到配置环境变量的入口:

这台电脑-->属性-->高级系统设置-->点击环境变量-->

找到系统变量中的path

点击编辑,如果你的windows系统为win7,8页面跟我相同,如果是win10则为下面第二张截图

将以下四个环境变量依次粘贴到变量值中(win7,8),win10如上图所示)

D:\anaconda
D:\anaconda\Scripts
D:\anaconda\Library\bin
D:\anaconda\Library\mingw-w64\bin

点击确定即可,到此环境变量配置完成。最后,如果我们是在pycharm上运行代码时,应重启pycharm后再运行就不会再有此错误了。(其他编译环境相同)

解决DLL load failed while importing _imaging: 找不到指定的模块。问题相关推荐

  1. 【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块

    在 windows 上使用 matplotlib 包的时候报错如下: ImportError: DLL load failed while importing _imaging: 找不到指定的模块. ...

  2. Python使用Pillow包报错 ImportError: DLL load failed while importing _imaging: 找不到指定的程序。

    最近使用Python调用Pillow时报错,代码就两行: from PIL import Imageprint("PyCharm") 报错如下: Traceback (most r ...

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

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

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

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

  5. 【BUG】DLL load failed while importing pyopenpose: 找不到指定的模块

    问题: ImportError: DLL load failed while importing pyopenpose: 找不到指定的模块. 解决方法: 1.把build\bin里面的全部dll,复制 ...

  6. [Win11] ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块 Conda无法激活环境

    文章目录 1 报错 2 解决 参考 1 报错 Traceback (most recent call last):File "<stdin>", line 1, in ...

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

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

  8. ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)

    本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...

  9. DLL load failed while importing _ssl: 找不到指定的模块

    DLL load failed while importing _ssl: 找不到指定的模块. 解决方案 下载 libcrypto-1_1-x64和libssl-1_1-x64.zip 放到C:\Wi ...

  10. from skmisc.loess import loess DLL load failed while importing _loess: 找不到指定的模块。

    错误 卸载原有的scikit-misc包,重新安装 pip install -i https://test.pypi.org/simple/ "scikit-misc==0.2.0rc1&q ...

最新文章

  1. 物联网设备天线设计与选型指南
  2. 新一代测序技术Sparc
  3. zynq7000 clk 设备树时钟对照表
  4. 实践篇 | 推荐系统之矩阵分解模型
  5. 10.completion_suggester
  6. Kafka 集群数据备份 MirrorMaker 详解
  7. 支持多达70余种嵌入式核心的嵌入式仿真软件SkyEye
  8. tcpdump 命令祥解
  9. FFmpeg的H.264解码器源代码简单分析:解码器主干部分
  10. 通达信版弘历软件指标_弘历主图指标详解 通达信指标
  11. 密码中明文、密文、密钥关系的简单介绍
  12. ARC093 F Dark Horse——容斥
  13. 国务院关于积极推进“互联网+”行动的指导意见
  14. c语言.jpg图片转成数组_pdf怎么转成jpg最简单 mac
  15. 微信公众号注册已达上限怎么办?提升限额方法来了
  16. AliCloud Duplicity
  17. 用新开放的 notion api 结合 python 爬虫搞个羊毛线报页面
  18. 基于微软平台IIS/ASP.NET开发的大型网站有哪些?
  19. 并列句(2021-07-25)
  20. 加快发展职业教育 让每个人都有人生出彩机会

热门文章

  1. 开源音乐播放器_测试4个开源音乐播放器等
  2. MYSQL部分面试题型
  3. jsp遍历List map
  4. Wagtail 教程 3:引入 Bootstrap 4,Font Awesome,页面布局优化
  5. 论文解读|BMVC 2019|DABNet: Depth-wise Asymmetric Bottleneck for Real-time Semantic Segmentation
  6. Ubuntu16.04LTS安装Visual Studio Code和Git以及解决git clone问题
  7. css实现--三角形/箭头(上下左右)--详细原理
  8. 基于Python的电商数据分析系统
  9. 华为设备配置MSDP实现PIM-SM域间组播
  10. python报错: list object has no attribute shape的解决