我正在尝试使用Homebrew为Python3安装pygame。(我的机器上有Python 2和Python 3)。
我使用了this Reddit page,其中提到:
这个方法对于我的Python 2.7非常完美,成功安装了
我还发现可以使用
我使用了this Reddit page,其中提到:
brew tap Homebrew/python
brew update
brew install pygame
这个方法对于我的Python 2.7非常完美,成功安装了
pygame
。但是,Python 3仍然没有pygame
。我还发现可以使用
pip3
来完成。但是,我正在寻找一种使用Homebrew安装Python 3的pygame的方法。
brew info pygame
。它有一个--with-python3
选项。 - celbrew install pygame --with-python3
并不起作用。它显示:Warning: homebrew/python/pygame-1.9.2a0 already installed
。 - Sait