[問題] Mac pygame 安裝

看板Python作者 (濕濕)時間8年前 (2017/06/29 09:45), 編輯推噓0(004)
留言4則, 2人參與, 最新討論串1/1
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

06/29 10:32, , 1F
06/29 10:32, 1F

06/29 10:38, , 2F
Cannot unpack file /private/var/folders/t9/gmgdrgq96z
06/29 10:38, 2F


06/29 13:32, , 4F
不過我猜 pip install pygame 就可以了(pypi 上有 wheel)
06/29 13:32, 4F
文章代碼(AID): #1PL5l2yi (Python)