I tried: c:/python34/scripts/pip install http://bitbucket.org/pygame/pygame
and got this error:
Cannot unpack file C:\Users\Marius\AppData\Local\Temp\pip-b60d5tho-unpack\pygame
(downloaded from C:\Users\Marius\AppData\Local\Temp\pip-rqmpq4tz-build, conte
nt-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of C:\Users\Marius\AppData\Local\Temp\pip-rqmp
q4tz-build
Please if anyone have any solutions please feel free to share them!
I also tried
pip install --allow-unverified
, but that gave me an error as well.
This is the only method that works for me.
--
These are the steps that lead me to this command (I put them so people finds it easily):
Then, as suggestes I allow external:
So I also allow unverifiable:
So, after a visit to http://www.pygame.org/download.shtml, I thought about adding the version number (1.9.1release is the currently stable one).
--
Hope it helps.
If you get trouble when install pygame error about missing visual studio 10+. I have the answer: The problem is not about have or not have visual studio, because I try many version but it not work. The problem is file: between
tar.gz
and.whl
so, this is the solution:1) Download file:
Go here and download your pygame version, notice about x64 or x86 and python version. My system is x64 and python is 3.4 so I choose:
pygame-1.9.2a0-cp34-none-win_amd64.whl
2) Put it in some where to install:
I put it in "C:", so open cmd: and type: cd C:\ (this is change location to C:)
3) Install
Done !
I realized that the compatible Pygame version was simply corrupted or broken. Therfore i had to install a previous version of python to run Pygame. Which is actually fine as most modules aren't updated to be compatible with Python 3.4 yet so it only gives me more options.