[问题] Mac pygame 安装

楼主: ptt0720 (湿湿)   2017-06-29 09:45:33
OS:macOS 10.12
python version : 额外安装的python3
因为python3还没有完全支援pygame 打算就装python2可以用的
(也就是官网最新版本)
目前卡在安装Mercurial这步
~ brew install mercurial
Warning: mercurial 4.2.1 is already installed, it's just not linked.
You can use `brew link mercurial` to link this version.
~ brew link mercurial
Error: Could not symlink share/man/man5/hgignore.5
/usr/local/share/man/man5 is not writable.
Mercurial不处理的话就认不得hg指令
下pip install hg+http://bitbucket.org/pygame/pygame
就会跳出错误来
请问我应该如何解决呢
或是有更简易的安装方法也可以
作者: zerof (猫橘毛发呆雕像)   2017-06-29 10:32:00
楼主: ptt0720 (湿湿)   2017-06-29 10:38:00
Cannot unpack file /private/var/folders/t9/gmgdrgq96z
作者: zerof (猫橘毛发呆雕像)   2017-06-29 13:31:00
or https://github.com/pygame/pygame/archive/master.zip不过我猜 pip install pygame 就可以了(pypi 上有 wheel)

Links booklink

Contact Us: admin [ a t ] ucptt.com