TomWhitwell / SlowMovie

MIT License
345 stars 69 forks source link

Issue with Automated install #123

Closed tmoistner closed 2 years ago

tmoistner commented 2 years ago

After running the command for automated installation and running python3 slowmovie.py; I'm left with the following error -

Traceback (most recent call last): File "/home/pi/SlowMovie/slowmovie.py", line 22, in from PIL import Image, ImageEnhance File "/home/pi/.local/lib/python3.9/site-packages/PIL/Image.py", line 45, in from . import ( ValueError: source code string cannot contain null bytes

I've verified all of the packages installed correctly. Any ideas on what could be causing this?

qubist commented 2 years ago

Interesting... Googled the error: https://stackoverflow.com/questions/31233777/python-source-code-string-cannot-contain-null-bytes

Seems like it could be a problem with the way the file downloaded. How did you verify the packages installed correctly? Can you open /home/pi/.local/lib/python3.9/site-packages/PIL/Image.py and see what's inside?

tmoistner commented 2 years ago

I'm guessing it was just an issue with my environment. I reinstalled everything by hand and it's working.