[英]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. 我使用anaconda 4.4.0和python 3.6版本也使用了Windows 7,64位。 I want to install pygame in anaconda. 我想在anaconda中安装pygame。 I tried in many ways but i got a error like this Error Form anaconda prompt 我试过很多方面,但我得到一个错误,如错误形式anaconda提示
It said 它说
Unsatisfiable Error: The following specifications were found to be in conflict: -pygame-->> python 2.7* ->>python 3.6* 不满意的错误:发现以下规范存在冲突:-pygame - >> python 2.7 * - >> python 3.6 *
Noted that I have used " conda install -c prkrekel pygame
" for pygame installation. 注意到我使用“ conda install -c prkrekel pygame
”进行pygame安装。 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. 好像你的系统安装了两个版本的Python,而Anaconda没有“获得”PyGame安装。
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". 在Anaconda菜单中,选择“工具”,然后选择“打开命令提示符”。 The cmd window will open inside Anaconda. cmd窗口将在Anaconda内打开。 Now type 现在输入
pip install pygame
You have pygame installed which is for an older version python 2.7. 你安装了pygame,它适用于旧版python 2.7。 You just have to uninstall the package and install the latest one that supports python 3.6. 您只需要卸载该软件包并安装支持python 3.6的最新软件包即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.