[問題] 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