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:ProgramDataAnaconda3libsite-packagesPILImage.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