Skip to content

ModuleNotFoundError: No module named '_tkinter' #1

Description

@hilham1990

MacBook-Air Python3MacApp-LearnerTemplate-main % python3 gui.py
Traceback (most recent call last):
File "/Users/user/Python3MacApp-LearnerTemplate-main/gui.py", line 5, in
import tkinter as tk
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/init.py", line 38, in
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions