Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError when importing ttkbootstrap on Win 11 & python 3.10.10 #578

Open
Solanaar opened this issue May 26, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Solanaar
Copy link

Desktop (please complete the following information):

ttkbootstrap Version 1.10.1
OS: Win 11

Describe the bug

Imported ttkbootstrap inside a venv using

python -m pip install ttkbootstrap.

Any file importing ttkbootstrap returns this error:
ModuleNotFoundError: No module named 'ttkbootstrap'

It happens both, when I run a file from a folder inside the root directory of the environment, as well as when running it from the root directory itself. I'm getting it on multiple projects. I am also getting it on a clean environment.

To Reproduce

  1. Setup venv in VSC
  2. import ttkbootstrap with python -m pip install ttkbootstrap
  3. create [filename].py with this code.
import tkinter as tk
import ttkbootstrap

Expected behavior

"It just works."

Screenshots

No response

Additional context

Python 3.10.10
Visual Studio Code


Package Version
pillow 10.3.0
pip 24.0
setuptools 65.5.0
ttkbootstrap 1.10.1
@Solanaar Solanaar added the bug Something isn't working label May 26, 2024
@Solanaar Solanaar changed the title ModuleNotFoundError when importing ttkbootstrap ModuleNotFoundError when importing ttkbootstrap on Win 11 & python 3.10.10 May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant