0

I get an error when downloading pygame in termux. I tried pip install pygame and pip3 install pygame but it's showing me this error:

ERROR: Could not find a version that satisfies the requirement pygame

(from versions: 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,
2.0.0.dev12, 2.0.0.dev14, 2.0.0.dev16, 2.0.0.dev18, 2.0.0.dev20,
2.0.0.dev22, 2.0.0.dev24, 2.0.0, 2.0.1.dev1, 2.0.1)

ERROR: No matching distribution found for pygame

I also get this warning:

WARNING, No "Setup" File Exists, Running "config.py"
    Using UNIX configuration...
D_00
  • 1,440
  • 2
  • 13
  • 32
SkyKid
  • 9
  • 1
  • 1
    this is a warning not the error. What error is thrown? update your question and share the exception – Amir Heshmati May 03 '21 at 09:17
  • ERROR: Could not find a version that satisfies the requirement pygame (from versions: 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, 2.0.0.dev12, 2.0.0.dev14, 2.0.0.dev16, 2.0.0.dev18, 2.0.0.dev20, 2.0.0.dev22, 2.0.0.dev24, 2.0.0, 2.0.1.dev1, 2.0.1) ERROR: No matching distribution found for pygame ... This is the error showing.. can you help me and tell me what should I do to download pygame in termux – SkyKid May 03 '21 at 16:59
  • Another error also showing is : Unable to run "sdl-config". Please make sure a development version of SDL is installed. – SkyKid May 03 '21 at 17:07
  • @SkyKid If pip doesn't think it can find a prebuilt version for you, it's going to build pygame from source locally. But to build pygame from source, you need to install pygame's dependencies. This might help: https://github.com/pygame/pygame#dependencies. – Starbuck5 May 04 '21 at 05:07

0 Answers0