我习惯了macport,最近得到了一本新的mac book pro 10.8.4,我切换brew
并尝试安装python,但出现以下错误:
brew install python --universal --framework
Error: You must `brew link gdbm' before python can be installed
我尝试按照以下链接使用 brew 安装 python,但它一直在说链接,我不明白。 网站 1 ,网站 2
以下是我收到的警告:
brew install readline sqlite gdbm
Warning: readline-6.2.4 already installed
Warning: sqlite-3.7.17 already installed
Warning: gdbm-1.10 already installed, it's just not linked
除此之外,我还尝试将其链接到 brew link gdbm 但出现以下权限问题:
file: /usr/local/Cellar/gdbm/1.10/include/gdbm.h
/usr/local/include is not writable. You should change its permissions.
我检查了 /usr/local/include 并且它有写权限
drwxr-xr-x 29 root wheel 986 Mar 30 16:46 include ( I am not the root)
我不是 root,也没有 root 密码,但我在机器上有 sudo 权限。