I have Anaconda 1.6.2
, which uses Python 2.7.5
, installed on a Windows 7 64-bit
system.
I need to install Pygame 1.9.1
This worked for me on windows :
conda install -c cogsci pygame=1.9.2a0
This didnot work for me on windows machine :
conda install -c tlatorre pygame=1.9.2
Using Jupyter Notebook 5.5.0 and running "install pygame" without the pip command allowed for the installation of pygame 1.9.3 for Python 3.6.5 on windows
Another way to do the job, as i see, is to reinstall Anaconda using its Windows installer so that later you can install your pygame using Windows installer too. This could save your much work in installer pygame from source.
Note that the versions of your Anaconda and pygame should be both 32 or 64 bits, and be using the same python version.
For anyone with a Linux computer I found a link that might be helpful:
https://anaconda.org/tlatorre/pygame
run this command in your terminal :
conda install -c tlatorre pygame=1.9.2
Then close Spyder and restart it
This worked for me:
It should work.
The following works with Anaconda2 on Win7 (32bit).
conda install -c cogsci pygame=1.9.2