ImportError: DLL load failed while importing _imaging: 找不到指定的模块。
问题及解决方案
最近使用nuitka打包自己写的程序,在其他电脑双击打开,PIL库报错了,信息如下:
ImportError: DLL load failed while importing _imaging: 找不到指定的模块。
寻找了一圈,发现最好还是降级
之前是pillow是8.4.0和9.0.1
pip uninstall pillow
pipinstall pillow==6.2.1
![python版本对应关系](https://img-blog.csdnimg.cn/73a2f5038f654532a1fa767316222af1.png)
参考
https://pillow.readthedocs.io/en/stable/installation.html