Mario-Level-1
Mario-Level-1 copied to clipboard
Requirements failed on Ubuntu 20 py.game
Requirements failed on Ubuntu 20 py.game
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal
sudo pip install -r requirements.txt DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support ERROR: Could not find a version that satisfies the requirement pygame==1.9.6+dfsg-2build1 (from -r requirements.txt (line 1)) (from versions: 1.9.2.dev1, 1.9.2b7, 1.9.2b8, 1.9.2rc1, 1.9.2, 1.9.3, 1.9.4.dev0, 1.9.4rc1, 1.9.4, 1.9.5rc1, 1.9.5rc2, 1.9.5, 1.9.6rc1, 1.9.6rc2, 1.9.6, 2.0.0.dev1, 2.0.0.dev2, 2.0.0.dev3, 2.0.0.dev4, 2.0.0.dev6, 2.0.0.dev8, 2.0.0.dev10) ERROR: No matching distribution found for pygame==1.9.6+dfsg-2build1 (from -r requirements.txt (line 1))
On ubuntu you've got to run:
sudo apt-get install python3-pygame
If you have any doubts check out the page: https://www.pygame.org/wiki/GettingStarted#Debian/Ubuntu/Mint