error:No module named 'ttkbootstrap.constants' #227
Replies: 5 comments 3 replies
-
|
From your error message it appears that ttkbootstrap is not installed. https://ttkbootstrap.readthedocs.io/en/latest/gettingstarted/installation/ |
Beta Was this translation helpful? Give feedback.
-
|
change your script filename to anything other than ttkbootstrap.py LOL |
Beta Was this translation helpful? Give feedback.
-
|
In my case the problem was that the virtual environment (.venv) already existed. I deleted it and recreated within VS code. |
Beta Was this translation helpful? Give feedback.
-
|
install ttkbootstrap globally: this will not work: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
when i run the code:
I get the error:
No module named 'ttkbootstrap.constantshow can i use ttkbootstrap.constants?
Beta Was this translation helpful? Give feedback.
All reactions