在带有brew的OS X上的virtualenv中的PyGame? [英] PyGame in a virtualenv on OS X with brew?
本文介绍了在带有brew的OS X上的virtualenv中的PyGame?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
还不太清楚如何在OSX Lion的virtualenv中安装PyGame.如果可能的话,我真的很想将内容保留在virtualenv中.
Can't quite figure out how to install PyGame in a virtualenv on OSX Lion. I'd really like to keep things contained in the virtualenv, if at all possible.
我曾尝试下载PyGame的源代码并在virtualenv中运行随附的setup.py
,但是即使通过Homebrew安装了SDL需求后,似乎也遇到了很多问题.
I've tried downloading the source for PyGame and running the included setup.py
in the virtualenv, but it seems to be having a bunch of issues finding the SDL requirements even after installing those via Homebrew.
设置此人的任何提示吗?
Any tips from someone that's set this up?
推荐答案
是的,您可以在(这就是我的操作方式,它工作正常.)
(this is how i did it, it's working perfectly.)