Closed AwekM closed 8 months ago
@AwekM Can you edit the following lines in configure.py
:
https://github.com/mathoudebine/turing-smart-screen-python/blob/73a7dd304e5e7f6b06a1746216c7893de3458f62/configure.py#L47-L59
Add raise
just after the except l.53 (be careful of the 4 blank space before the word):
except:
raise
Then run back python3 configure.py
and post the output here please?
After adding the raise
, this is my output;
acapcap@acapcap:~/turing-smart-screen-python-3.3.4$ python3 configure.py
Traceback (most recent call last):
File "/home/acapcap/turing-smart-screen-python-3.3.4/configure.py", line 51, in <module>
from PIL import Image, ImageTk
ImportError: cannot import name 'ImageTk' from 'PIL' (/usr/lib64/python3.12/site-packages/PIL/__init__.py). Did you mean: 'Image'?
I see now! It seems you're missing some system packages, can you try sudo dnf install python3-pillow-tk
?
Niceeee. That seems to be the solution! Thanks for the help again!
Describe the bug
I have followed the guide on how to start the program but it shows the error.
Environment:
Additional context