ImportError: DLL load failed while importing imaging: 找不到指定的模块

24.1 ImportError: DLL load failed while importing imaging: 找不到指定的模块

参考:https://zhuanlan.zhihu.com/p/662305030?utm_id=0

说明:Pillow 与pillow都可以,不区分首字母大小写

第一步:查看是否有pillow

1)pip install pillow

出现上图说明已经安装

2)查看pillow的版本

pip show pillow

3):重装pillow

pip uninstall pillow

pip install pillow

4): 如果重装pillow的话,还是报错,降低pillow版本

pip uninstall pillow

pip install pillow==8.0.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

5):使用别人的项目

pillow与requirements.txt一致

注意:

pillow与python 版本匹配

参考 https://blog.csdn.net/qq_45510888/article/details/121446878

官网查询 https://pypi.org/project/pillow/#files

相关推荐
DeepModel10 小时前
【概率分布】指数分布(Exponential Distribution)原理、推导与实战
python·算法·概率论
波特率11520010 小时前
miniconda入门使用
python·conda·miniconda·python环境
二闹10 小时前
别再死记硬背了!带你扒开*args和**kwargs的底裤
后端·python
m0_7432974210 小时前
Python在金融科技(FinTech)中的应用
jvm·数据库·python
老师好,我是刘同学10 小时前
列表推导式详解与实战应用
python
与虾牵手11 小时前
Rust 入门:一个写了 6 年 Python 的人,被编译器骂了三天
python
2401_8578652311 小时前
Python日志记录(Logging)最佳实践
jvm·数据库·python
AsDuang11 小时前
Python 3.12 MagicMethods - 54 - __rrshift__
开发语言·python
Bert.Cai11 小时前
Python字符串详解
开发语言·python
宸翰11 小时前
在VS code中如何舒适的开发Python
前端·python