Issue
I have tried to install tkinter in python 3 as sudo yum install tkinter
But it's saying that could not find a version that satisfies the requirement tkinter from versions no matching distribution found on tkinter
I was trying to run turtle programs in python script. But it's running on python prompt when I am coming to the python script its not running. So i tried to download tkinter.
Solution
You've named your file turtle.py
, and when you write import turtle
, turtle.py
is attempting to import itself. You can solve this by renaming turtle.py
to something else, such as myturtle.py
.
Answered By - noɥʇʎԀʎzɐɹƆ Answer Checked By - Mildred Charles (WPSolving Admin)