none
在 Mac 10.12 上安装 Azure CLI 报错 Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks RRS feed

  • 问题

  • <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Menlo; color: #f4f4f4; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Menlo; color: #ffffff; background-color: #000000} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 10.0px Menlo; color: #f4f4f4; background-color: #000000; min-height: 11.0px} span.s1 {font-variant-ligatures: no-common-ligatures} span.s2 {font-variant-ligatures: no-common-ligatures; color: #34bc26} span.s3 {font-variant-ligatures: no-common-ligatures; color: #f4f4f4} span.s4 {font-variant-ligatures: no-common-ligatures; color: #afad24} span.s5 {font-variant-ligatures: no-common-ligatures; color: #5230e1} span.s6 {font-variant-ligatures: no-common-ligatures; color: #c33720} </style>

    brew install  azure-cli

    ==> Installing dependencies for azure-cli: python3

    ==> Installing azure-cli dependency: python3

    Warning: Building python3 from source:

      The bottle needs the Apple Command Line Tools to be installed.

      You can install them, if desired, with:

        xcode-select --install

    ==> Downloading https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz

    Already downloaded: /Users/yaojian/Library/Caches/Homebrew/python3-3.6.2.tar.xz

    ==> ./configure --prefix=/usr/local/Cellar/python3/3.6.2 --enable-ipv6 --datarootdir=/usr/local/Cellar/python3/3.6.2/sha

    ==> make

    ==> make install PYTHONAPPSDIR=/usr/local/Cellar/python3/3.6.2

    ==> make frameworkinstallextras PYTHONAPPSDIR=/usr/local/Cellar/python3/3.6.2/share/python3

    ==> Downloading https://files.pythonhosted.org/packages/87/1a/33d3d05569e857c5c5cc3e90d197bf4d9696dc740a05f66a09599d66e5

    Already downloaded: /Users/yaojian/Library/Caches/Homebrew/python3--setuptools-32.2.0.zip

    ==> Downloading https://files.pythonhosted.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e4

    Already downloaded: /Users/yaojian/Library/Caches/Homebrew/python3--pip-9.0.1.tar.gz

    ==> Downloading https://files.pythonhosted.org/packages/c9/1d/bd19e691fd4cfe908c76c429fe6e4436c9e83583c4414b54f6c8547195

    ######################################################################## 100.0%

    Error: An unexpected error occurred during the `brew link` step

    The formula built, but is not symlinked into /usr/local

    Permission denied @ dir_s_mkdir - /usr/local/Frameworks

    Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

    2017年9月28日 3:30

全部回复