I was trying to learn python on macbook pro, macos catalina v10.15.3 I was just trying to run:
import turtle
t = turtle.Pen()
t.forward(100)
but pycharm gave me this:
Traceback (most recent call last):
File "/Users/djtriestolearn/PycharmProjects/Tryturtle/001.py", line 1, in <module>
import turtle
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/turtle.py", line 107, in <module>
import tkinter as TK
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/tkinter/__init__.py", line 36, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ModuleNotFoundError: No module named '_tkinter'
I tried my best already but still don't know what's wrong, somebody help please.