【问题标题】:"Permission denied" when trying to link python using brew尝试使用 brew 链接 python 时出现“权限被拒绝”
【发布时间】:2018-10-15 22:44:18
【问题描述】:

我已经在 mac 上使用以下命令安装了 python

    brew install python

然后当我尝试使用

链接 python
    brew link python

我收到了这个错误

    "Linking /usr/local/Cellar/python/3.7.0... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks"

我该如何解决这个问题?

【问题讨论】:

    标签: python macos


    【解决方案1】:

    我可以通过这样做来解决这个问题

      sudo mkdir /usr/local/Frameworks
      sudo chown $(whoami):admin /usr/local/Frameworks
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-09
      • 2014-08-02
      • 2019-03-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-27
      • 1970-01-01
      相关资源
      最近更新 更多