首页 > 编程语言 > 详细

python 问题及解决方法

时间:2020-01-14 19:28:55      阅读:75      评论:0      收藏:0      [点我收藏+]

1.PIL 输入以下命令时,报出如下错误

1 >> from PIL import Image
2 Traceback (most recent call last):
3   File "<ipython-input-12-0f6709e38f49>", line 1, in <module>
4     from PIL import Image
5 
6   File "d:\ProgramData\Anaconda3\lib\site-packages\PIL\Image.py", line 58, in <module>
7     from . import _imaging as core
8 
9 ImportError: DLL load failed: 找不到指定的模块。

解决方法:

  PIL卸载重装,输入如下命令:

卸载:

pip uninstall Pillow

重新安装:

pip install Pillow

  参考博客:https://blog.csdn.net/blueheart20/article/details/80985132

python 问题及解决方法

原文:https://www.cnblogs.com/haoyul/p/12193543.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!