使用Anaconda在Mac中为python3安装pygame [英] Installing pygame for python3 in mac using anaconda
本文介绍了使用Anaconda在Mac中为python3安装pygame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为python 3安装pygame并收到错误消息: 康达安装-c cogsci pygame 解决环境:失败
I am trying to install pygame for python 3 and get the error: conda install -c cogsci pygame Solving environment: failed
UnsatisfiableError: The following specifications were found to be in
conflict:
- pygame
- xlwt
Use "conda info <package>" to see the dependencies for each package.
试图再次安装xlwt,但没有任何变化:
Tried to install xlwt again but nothing change :
conda install xlwt
Solving environment:
done
All requested packages already installed.
知道如何安装吗?
谢谢
推荐答案
UnsatisfiableError
表示列出的两个软件包不能安装在同一环境中.您需要创建一个新环境来安装pygame:
The UnsatisfiableError
means that the two packages listed cannot be installed in the same environment. You need to create a new environment to install pygame:
conda create -n pygameenv -c cogsci pygame
这篇关于使用Anaconda在Mac中为python3安装pygame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文