I recently installed pip install ttkbootstrap successfully. I also have tkinter installed and everything works fine when I import it. When I try to import ttkbootstrap into PyCharm it doesnt recognize the module and gives me this error: File "C:\Coding\PyCharm\Projects\Project 1\projectfile.py", line 3, in import ttkbootstrap as ttk ModuleNotFoundError: No module named 'ttkbootstrap'
I've searched other questions and couldn't find an answer to this problem. I was wondering if anyone knows what to do here, I've been struggling with this for a while now, any help would be be really appreciated
Every time I create a new project I also create a venv from one of my interpreters on my system.
In this venv you then install ttkbootstrap in the settings of PyCharm.
If you want to test if the installation worked you'll have to either use the temrminal inside PyCharm or just use the import statement.
You can even have multiple run configurations including different python interpreters and as you install them as venv you can have multiple installations of packages in these environments.
Important: If you are running Python 3.12 in PyCharm you'll have to update to the latest version. After this you'll probably have to recreate your venv otherwise it will still not work