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

相关文章:

  • 2021-07-20
  • 2022-12-23
  • 2021-09-01
  • 2021-06-22
  • 2022-01-11
  • 2021-05-31
  • 2022-01-01
  • 2021-08-25
猜你喜欢
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-10-01
  • 2022-12-23
  • 2022-02-04
相关资源
相似解决方案