看板 Python 關於我們 聯絡資訊
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
zerof: pip install https://github.com/pygame/pygame.git 06/29 10:32
ptt0720: Cannot unpack file /private/var/folders/t9/gmgdrgq96z 06/29 10:38
zerof: 不過我猜 pip install pygame 就可以了(pypi 上有 wheel) 06/29 13:32