我正在尝试为 python 3 安装 pygame 并收到错误: conda 安装-c cogsci pygame 解决环境:失败
UnsatisfiableError: The following specifications were found to be in
conflict:
- pygame
- xlwt
Use "conda info <package>" to see the dependencies for each package.
尝试再次安装 xlwt 但没有任何变化:
conda install xlwt
Solving environment:
done
All requested packages already installed.
知道如何安装吗?
谢谢
最佳答案
UnsatisfiableError
表示无法将列出的两个包安装在同一环境中。你需要创建一个新的环境来安装pygame:
conda create -n pygameenv -c cogsci pygame
关于python-3.x - 使用 anaconda 在 mac 中为 python3 安装 pygame,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48972603/