Skip to content
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

dependency PIL.ImageTk missing #8

Closed
sigmaeo opened this issue May 8, 2021 · 1 comment
Closed

dependency PIL.ImageTk missing #8

sigmaeo opened this issue May 8, 2021 · 1 comment

Comments

@sigmaeo
Copy link

sigmaeo commented May 8, 2021

I start with fresh image "Raspberry Pi Os with Desktop" (from 2021-03-04) and got:

pi@raspberrypi:~/PySpectrometer/src $ python3 pyspectrometer-v3.py
Traceback (most recent call last):
  File "pyspectrometer-v3.py", line 46, in <module>
    import PIL.Image, PIL.ImageTk
ModuleNotFoundError: No module named 'PIL.ImageTk'

It seems, that one dependency is missing - I had to add:
sudo apt-get install python3-pil.imagetk

@sigmaeo sigmaeo changed the title dependency imagetk missing dependency PIL.ImageTk missing May 8, 2021
@leswright1977
Copy link
Owner

Weird! I will add it to the dependencies file, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants