ModuleNotFoundError when importing ttkbootstrap on Win 11 & python 3.10.10
Opened this issue · 0 comments
Solanaar commented
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
- Setup venv in VSC
- import ttkbootstrap with
python -m pip install ttkbootstrap
- 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 |