作者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://www.ptt.cc/bbs/Python/M.1498700738.A.F2C.html
→ ptt0720: Cannot unpack file /private/var/folders/t9/gmgdrgq96z 06/29 10:38
→ zerof: 不過我猜 pip install pygame 就可以了(pypi 上有 wheel) 06/29 13:32