简体   繁体   中英

Installation of Pygame in windows 7 64bit with Anaconda 3.4

I used anaconda 4.4.0 with python 3.6 version also used windows 7, 64 bit. I want to install pygame in anaconda. I tried in many ways but i got a error like this Error Form anaconda prompt

It said

Unsatisfiable Error: The following specifications were found to be in conflict: -pygame-->> python 2.7* ->>python 3.6*

Noted that I have used " conda install -c prkrekel pygame " for pygame installation. But every time got that error. What's the way to solve the error?.

Does this help? Seems like your system has two versions of Python installed, and Anaconda is not "getting" the PyGame install.

Can you try

conda install -c cogsci pygame

OR

conda install -c tlatorre pygame=1.9.2

OR

In the Anaconda menu, choose Tools, then "open command prompt". The cmd window will open inside Anaconda. Now type

pip install pygame

You have pygame installed which is for an older version python 2.7. You just have to uninstall the package and install the latest one that supports python 3.6.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM