skip to Main Content

I am running tkinter on Vscode on windows OS but I can’t import ttkbootstrap module, i have properly installed it but it shows module not found error. Please help anyone. there’s nothing to help me. I am writing

import ttkbootstrap as ttk

2

Answers


  1. Try this:

    py -m pip install ttkbootstrap
    
    Login or Signup to reply.
  2. This problem is usually caused by the incorrect Python environment.

    You can use shortcuts "Ctrl+Shift+P" and type "Python: Select Interpreter" to change your python interpreter to the environment where you installed the python package.

    I suggest you creating virtual environment which can make it easier to manage your Python package.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search