Skip to content

Cannot import tkinter as tk when running python3 gui.py #56

Description

@Arkohub

I should start by saying I'm on a mac which might be the issue as I can't use apt-get but instead am using homebrew.

When I head over to "/opt/homebrew/lib/python3.11/site-packages/spotify2ytmusic/gui.py" and try to run python3 gui.py I am getting the following error:

Traceback (most recent call last): File "/opt/homebrew/lib/python3.11/site-packages/spotify2ytmusic/gui.py", line 8, in <module> import tkinter as tk File "/opt/homebrew/Cellar/python@3.11/3.11.7_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/tkinter/__init__.py", line 38, in <module> import _tkinter # If this fails your Python may not be configured for Tk ^^^^^^^^^^^^^^^

Python 3.11.7
pip 24.0

Is this a solvable issue as it stands? Would prefer not to set up a linux machine but can do if nothing doing with this one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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