When executing python3 streamdeck.py get the the error No module named 'tkinter' #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
python3 streamdeck.py
Traceback (most recent call last):
File "/home//streamdeck-plus-software/streamdeck.py", line 13, in
from PIL import Image, ImageDraw, ImageFont, ImageTk
File "/home//.local/lib/python3.10/site-packages/PIL/ImageTk.py", line 29, in
import tkinter
ModuleNotFoundError: No module named 'tkinter'
Solved the problem with this:
For Ubuntu or other distros with Apt:
sudo apt-get install python3-tk
For Fedora:
sudo dnf install python3-tkinter
Glad to hear you fixed it, let me know if you need help with anything else ^