ModuleNotFoundError:转换为可执行文件时,没有名为“ PIL”的模块

时间:2020-08-24 08:22:47

标签: python image python-imaging-library exe pyinstaller

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
/Users/salwafakhir/dist/app/app ; exit;
Salwas-Air:~ salwafakhir$ /Users/salwafakhir/dist/app/app ; exit;
Traceback (most recent call last):
  File "app.py", line 2, in <module>
    from pillow import ImageTk,Image
ModuleNotFoundError: No module named 'PIL'
[9153] Failed to execute script app
logout

嘿,所以我有这个出现在我用PyInstaller将python文件转换成可执行文件时,如果有人知道为什么? 我的程序在python上工作正常 预先谢谢你

0 个答案:

没有答案