ModuleNotFoundError on module in stdlib

I am trying to run a file using the module turtle found in the stdlib but keep getting ModuleNotFoundError in pycharm flatpak on linux. I have installed tkinter and within a python 3.10 console outside of the venv I can import it. However within the project I am forced to use 3.9 for venv and it's console will not find the turtle module. Despite me in the code being able to access the src of the module.

I would like to use python 3.10 for my project and be able to use the turtle module, any ideas?

 

 

 

0
1 comment

Hi, are you able to import the package if you activate the venv in the terminal and run a python shell there?

0

Please sign in to leave a comment.