#๐Ÿ”’ Trouble getting tkinter to work.

7 messages ยท Page 1 of 1 (latest)

dusky crest
#

Hey everyone, I've tried almost everything I know, which isn't much. It kept saying I had to upgrade my pip even though I'm on the latest version. I fixed that problem. I looked in the directory, and the file was spelled slightly differently. I changed that, but there is still nothing. My directory is a mess, I'll admit, as I'm so new at this. This is the error I'm getting now.. All help is appreciated.

  File "/Users/papichulo/auto-scheduler-env/Scheduler.py", line 5, in <module>
    from ttkthemes import ThemedTk
  File "/Users/papichulo/auto-scheduler-env/lib/python3.13/site-packages/ttkthemes/__init__.py", line 6, in <module>
    from ttkthemes.themed_tk import ThemedTk
ModuleNotFoundError: No module named 'ttkthemes.themed_tk'```
sage sentinelBOT
#

@dusky crest

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

normal geyser
#

Can you share the code?

dusky crest
#
from tkinter import ttk, font, messagebox
from datetime import datetime, timedelta
import json
from ttkthemes import ThemedTk
from functools import partial
import uuid

class ModernScheduler:
    def __init__(self):```
delicate meadow
#

Are you using an env? If you are, check if it is enabled. If it doesn't work, you can use the pip freeze command to check if the ttkthemes library is installed.

sage sentinelBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.