DLL load failed while importing _imaging
现象:命令行/终端运行代码不报错,但是使用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相关推荐
- 【问题记录】ImportError: DLL load failed while importing _imaging: 找不到指定的模块
在 windows 上使用 matplotlib 包的时候报错如下: ImportError: DLL load failed while importing _imaging: 找不到指定的模块. ...
- Python使用Pillow包报错 ImportError: DLL load failed while importing _imaging: 找不到指定的程序。
最近使用Python调用Pillow时报错,代码就两行: from PIL import Imageprint("PyCharm") 报错如下: Traceback (most r ...
- Django终端运行报错:ImportError: DLL load failed while importing _sqlite3: 找不到指定的模块。
在pycharm运行没问题,但是在终端cmd或Powershell就会出错,如下: Traceback (most recent call last):File ".\manage.py&q ...
- Original error was: DLL load failed while importing _multiarray_umath: 找不到指定的模块
Python运行异常 问题描述 During handling of the above exception, another exception occurred:Traceback (most r ...
- 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: 找不到指定 ...
- ImportError: DLL load failed while importing _openmp_helpers: 拒绝访问。sklearn库拒绝访问
在运行以下的代码时,这两个代码全都报了这个错误 from sklearn.metrics import mean_squared_errorfrom sklearn.preprocessing imp ...
- jupyter notebook出现DLL load failed while importing _multiarray_umath: 找不到指定的模块
安装gpu版本的pytorch之后,在pycharm上测试没出现问题而在jupyter notebook却出现问题 问题描述: import torch E:\Miniconda3\envs\d2l\ ...
- ImportError: DLL load failed while importing _multiarray_umath: 找不到指定的模块(pyinstaller打包的问题)
本人环境配置: RTX3060 Win10 cuda11.1 Python3.8 Pytorch1.7.1 问题描述 本人需要将有导入torch包的python文件通过pyinstaller打包生成e ...
- Miniconda, ImportError: DLL load failed while importing win32api
Miniconda环境中 pip install pywin32 然后使用出错 import win32api ImportError: DLL load failed while importing ...
- ImportError: DLL load failed while importing win32api
今天在装jupyterlab环境的时候,老是跳出ImportError: DLL load failed while importing win32api: 找不到指定的模块. 我找到了网上的方法试了 ...
最新文章
- (转)Lucene.NET 使用
- mybatis学习8之缓存
- angluar ajax实例,Angular服务Request异步请求的实例讲解
- Spring Security源码解析(二)——引入
- VM虚拟机 安装OS X 错误vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1123
- 数据抽取工具比对:Kettle、Datax、Sqoop、StreamSets
- The LAO将于4月2日启动Neptune DAO,旨在为其他区块链项目提供流动性
- 镀镍金刚石线切割硅片
- 微商城应该怎样选择?
- FFMEPG avs2 解码支持
- 帝国cms用自定义反馈做在线报名等系统
- Android的语言设置(二)
- springboot集成mybatis
- PR序列、导出设置详解
- Struts2类型转换的说明及案例分析
- 固定翼无人机1:500地籍
- ISIS协议和代码分析
- python--Django框架
- echarts地图,通过工具生成对应区域的json数据,例如成都市,锦江区
- android播放器竖屏,Android 巧用DecorView实现列表或详情视频播放器竖屏及全屏切换...