简体   繁体   English

使用Anaconda 3.4在Windows 7 64bit中安装Pygame

[英]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.

相关问题 使用 Python 3.4 在 64 位 Windows 上安装 Pygame - Installing Pygame on 64bit Windows with Python 3.4 适用于Windows的Theano安装,Python 3,64位 - Theano installation for Windows, Python 3, 64bit theano安装(Windows 64bit python 2) - theano installation (windows 64bit python 2) 在Windows 10,64位的Anaconda上进行PIL安装 - PIL installation on anaconda for windows 10, 64 bit Anaconda 3.5(64位Windows)安装cx_Oracle - Anaconda 3.5 (64bit Windows) Install cx_Oracle Windows 7 64位 - 安装了Python 2.7.3 64位 - Pygame问题 - Windows 7 64bit - Python 2.7.3 64bit installed - Pygame issues 使用Python 3.6在Windows 64位上安装Tensorflow - Tensorflow installation on Windows 64bit with Python 3.6 如何使用Anaconda Python 3.6在Ubuntu 14.04 64bit中安装pygame - How to install pygame in Ubuntu 14.04 64bit with Anaconda Python 3.6 如何使用Windows二进制安装程序(.msi)在Windows 64BIT上安装pygame(ImportError:没有名为“ pygame”的模块) - how to install pygame on windows 64BIT using windows binary installer (.msi) (ImportError: No module named 'pygame') 在64位Windows上的嵌入式Python 3.4中添加新模块时,速度变慢并占用大量内存 - Slowdown and high memory uasge when adding a new module in embedded Python 3.4 on 64bit Windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM