现象:命令行/终端运行代码不报错,但是使用vsCODE运行相同的代码就报错了。

问题定位之后是在

from PIL import Image

这一行。

理论上不该出现这样的问题,即使使用管理员的权限打开vscode也不中用。

DLL load failed while importing _imaging
根据上面链接的描述,查看了python版本和pillow的版本,没问题也是对应着呢。

python是3.8,pillow是8.0.1

尝试更新pillow到8.3.2之后解决了vscode不能import dll的问题。

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. Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块

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

  5. from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui:

    from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui: 找不到指定 ...

  6. ImportError: DLL load failed while importing _openmp_helpers: 拒绝访问。sklearn库拒绝访问

    在运行以下的代码时,这两个代码全都报了这个错误 from sklearn.metrics import mean_squared_errorfrom sklearn.preprocessing imp ...

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

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

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

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

  9. Miniconda, ImportError: DLL load failed while importing win32api

    Miniconda环境中 pip install pywin32 然后使用出错 import win32api ImportError: DLL load failed while importing ...

  10. ImportError: DLL load failed while importing win32api

    今天在装jupyterlab环境的时候,老是跳出ImportError: DLL load failed while importing win32api: 找不到指定的模块. 我找到了网上的方法试了 ...

最新文章

  1. (转)Lucene.NET 使用
  2. mybatis学习8之缓存
  3. angluar ajax实例,Angular服务Request异步请求的实例讲解
  4. Spring Security源码解析(二)——引入
  5. VM虚拟机 安装OS X 错误vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1123
  6. 数据抽取工具比对:Kettle、Datax、Sqoop、StreamSets
  7. The LAO将于4月2日启动Neptune DAO,旨在为其他区块链项目提供流动性
  8. 镀镍金刚石线切割硅片
  9. 微商城应该怎样选择?
  10. FFMEPG avs2 解码支持
  11. 帝国cms用自定义反馈做在线报名等系统
  12. Android的语言设置(二)
  13. springboot集成mybatis
  14. PR序列、导出设置详解
  15. Struts2类型转换的说明及案例分析
  16. 固定翼无人机1:500地籍
  17. ISIS协议和代码分析
  18. python--Django框架
  19. echarts地图,通过工具生成对应区域的json数据,例如成都市,锦江区
  20. android播放器竖屏,Android 巧用DecorView实现列表或详情视频播放器竖屏及全屏切换...

热门文章

  1. Python 爬取所有51VOA网站的Learn a words文本及mp3音频
  2. 软件供应链平台汇新云
  3. 供应链金融管理系统-汇新云
  4. php 匹配中英文分号,PHP正则匹配中英文、数字及下划线的方法【用户名验证】 原创...
  5. element表格序号排序
  6. 苹果笔记本开机出现闪烁的问号文件夹解决方法
  7. 使用ItextPdf给PDF文件加文字水印和图片水印
  8. uniapp获取本机ip地址
  9. wordpress无法上传图片至wp-conten/uploads
  10. 计算机毕业设计php的人事档案管理系统