Open Do1SKL opened 1 month ago
Hi there,
Thank you for reporting this issue. The error message indicates that the _tkinter
module is missing. This module is required for tkinter
to work and is often not included by default in some Python installations.
Here are the steps to resolve this issue on a Raspberry Pi running Raspberry Pi OS 64-bit:
Update your package list:
sudo apt update
Install the Tkinter package:
sudo apt install python3-tk
Verify the installation:
python3
in your terminal.tkinter
with the following command:
import tkinter as tk
Re-run your application:
python3 /home/dks384/meshtastic_chat_desktop/meshtastic_chat_desktop.py
These steps should resolve the issue. Please let me know if you encounter any further problems.
Best regards, Lane
Message appears when attempting to start !!!!!!!!!!!!!!!!!
Traceback (most recent call last): File "/home/dks384/meshtastic_chat_desktop/meshtastic_chat_desktop.py", line 3, in < module > import tkinter as tk File "/usr/local/lib/python3.12/tkinter/init.py", line 38, in
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'
worksystem
Raspberry 4 Raspberry PI OS 64bit Python 3.12.4