Reputation: 11
I am trying to import turtle module. but it shows me module name 'tkinter' is not found. although it is a built-in module.and i didnt import it directly.(i think turtle module imports tkinter for me.)
I tried changing the path for Python in VS Code by clicking the bottom left option is status bar.
other modules are getting imported(import random, etc)
I have attached the screenshot of the code and error i am getting. Please HELPPP!!!!
Upvotes: 1
Views: 1218
Reputation: 19
It can also be an import error that you facing with you IDE (VS Code). Try changing the target exe to the python interpreter in your virtual environment. You can learn more about this, by visiting the link below:
Upvotes: 1