-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error "No module named PIL" during running start script #224
Comments
@tankist-git-2 Please follow the installation steps. |
I'm still having the same error, any help? Ive followed the video |
It looks like the PIL version that is used in this branch has been deprecated. |
@tankist-git-2 if you are using Python 3.12+, assuming you starting from beginning, try changing the line in requirements.txt starting with "Pillow" to "Pillow==10.4.0". you might also want to change "mediapipe" to "mediapipe==0.10.13". then run install.bat. it should give no error. EDIT: actually nevermind. the setup finish without error but starting will still give error. you need to use python 3.11. |
Latest supported version of Python is indeed 3.11 - so simply use that in venv environment and all works according to spec. No need to uninstall 3.12. Simply open a powershell instance and (after installing 3.11) do; |
After I run "start" script I've got the error:
No module named 'PIL'
I can easily run python shell and import that module like "import PIL" and it's ok, but the script doesn't see that module. I tried Windows 10 (PC, Python 3.12) and Ubuntu 22.04 (Orange Pi 5, Python 3.10) and I have same problems.
The text was updated successfully, but these errors were encountered: