作者ptt0720 (湿湿)
看板Python
标题[问题] Mac pygame 安装
时间Thu Jun 29 09:45:33 2017
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
就会跳出错误来
请问我应该如何解决呢
或是有更简易的安装方法也可以
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.114.123.156
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1498700738.A.F2C.html
2F:→ ptt0720: Cannot unpack file /private/var/folders/t9/gmgdrgq96z 06/29 10:38
4F:→ zerof: 不过我猜 pip install pygame 就可以了(pypi 上有 wheel) 06/29 13:32