在mac上用anaconda安装pygame [英] Install pygame with anaconda on mac
问题描述
我在尝试在安装了 python 和 anaconda 的 Mac 上安装 pygame 时遇到问题.我在 SO 中搜索并没有解决方案.不过好像已经解决了(还没仔细看)所以写在这里
I was having problems trying to install pygame on a mac where python was installed with anaconda. I searched in SO and no solution worked. But it seems I have worked it out (haven't checked yet throughly ) so I write it here
推荐答案
首先,tlatorre 似乎没有 Osx 版本.所以我这样做了:anaconda search -t conda pygame
First, tlatorre does not have a Osx version it seems. So I did this:
anaconda search -t conda pygame
你可以在回复中看到几个地方(包括 tlatorre)与 pygame.可以看到tlatorre只有linux-64版本.quasiben 似乎也有一个 Osx 版本,但我试过了,与 python 3.5* 有一些不兼容所以我尝试了 CogSci(它似乎有 linux windows 和 osx 版本
and you can see in the reply several places (including tlatorre) with pygame. You can see that tlatorre only has linux-64 version. Also quasiben seems to have a Osx version but I tried it and there was some incompatibility with python 3.5* so I tried CogSci (which seems to have linux windows and osx versions
conda install -c CogSci pygame=1.9.2
而且好像已经安装好了.(如果不是,我很抱歉 - 从现在开始我要检查)
and it seems that it has been installed. (my apologies if it is not, - I am going to check from now on)
这篇关于在mac上用anaconda安装pygame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!