This is the only method that works for me.
pip install pygame==1.9.1release
-
These are the steps that lead me to this command (I set them so that people find it easy):
$ pip install pygame Collecting pygame Could not find any downloads that satisfy the requirement pygame Some externally hosted files were ignored as access to them may be unreliable (use
Then, as suggested, I resolve the external:
$ pip install pygame --allow-external pygame Collecting pygame Could not find any downloads that satisfy the requirement pygame Some insecure and unverifiable files were ignored (use --allow-unverified pygame to allow). No distributions at all found for pygame
Therefore, I also admit unchecked:
$ pip install pygame --allow-external pygame --allow-unverified pygame Collecting pygame pygame is potentially insecure and unverifiable. HTTP error 400 while getting http://www.pygame.org/../../ftp/pygame-1.6.2.tar.bz2 (from http://www.pygame.org/download.shtml) Could not install requirement pygame because of error 400 Client Error: Bad Request Could not install requirement pygame because of HTTP error 400 Client Error: Bad Request for URL http://www.pygame.org/../../ftp/pygame-1.6.2.tar.bz2 (from http://www.pygame.org/download.shtml)
So, after visiting http://www.pygame.org/download.shtml , I thought about adding a version number (1.9.1release is currently stable).
-
Hope this helps.
kstenger
source share