To run it simply clone the repository with
git clone https://github.com/frederikpietzko/Snake.git
then create a virtual envirment like this
cd Snake
python3 -m venv venv
source venv/Scripts/activate
next install the requirements
pip3 install -r requirements.txt
now you should be able to run the game with
python snake.py