i am learning and trying to make a snake game in Python3 i am importing turtle
i am using: Linux mint 19, PyCharm, python37, python3-tk
Traceback (most recent call last):
File "/home/buszter/PycharmProjects/untitled1/snake.py", line 2, in <module>
import turtle
ModuleNotFoundError: No module named 'turtle'
everywhere i am reading turtle should be preinstalled, but i still dont have it :(
i tried pip install turtle
and says
pip install turtle
Collecting turtle
Using cached https://files.pythonhosted.org/packages/ff/f0/21a42e9e424d24bdd0e509d5ed3c7dfb8f47d962d9c044dba903b0b4a26f/turtle-0.0.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-kvf9on0y/turtle/setup.py", line 40
except ValueError, ve:
^
SyntaxError: invalid syntax
-------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kvf9on0y/turtle/
EDIT
screenshot of settings of the project in pycharm