Turtle, configurations

/home/francois/PycharmProjects/untitled/venv/bin/python /home/francois/PycharmProjects/untitled/test11.py Traceback (most recent call last): File "/home/francois/PycharmProjects/untitled/test11.py", line 1, in import turtle File "/usr/lib/python3.7/turtle.py", line 107, in import tkinter as TK File "/usr/lib/python3.7/tkinter/__init__.py", line 36, in import _tkinter # If this fails your Python may not be configured for Tk ImportError: libtk8.6.so: cannot open shared object file: No such file or directory Process finished with exit code 1 How do I fix this? I'm a newbie.
1 comment
Comment actions Permalink


Could you please try to execute the code out of PyCharm in a command line or terminal with the same interpreter? Do you get the same result? 


Please sign in to leave a comment.