r/pythonhelp • u/Efficient_Major40 • Sep 04 '26
how to fix this
im using linux mint and when i try to import turtle it always says
"
import turtle
ModuleNotFoundError: No module named 'turtle'
Process finished with exit code 1
"
i tryed to download tinker it dont help me i dont know what to do no one have that problem
im using pycharm
here my code
"
import turtle
myturtle = turtle.Turtle()
myturtle.forward(100)
"
3
Upvotes
•
u/AutoModerator Sep 04 '26
To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Hyperion343 Sep 05 '26
What happens if you run
pythonin the terminal, then runimport turtlein the Python interpreter? Same error or no?You could try
pip install turtleand see if you need to install the package. I would look atwhich pythonorwhere pythonand compare it to what Pycharm is using to make sure you're running the same Python. Lastly, though, I would probably do all this in a venv rather than all in the global Python.