gpt4 book ai didi

python - 在 mac 操作系统上安装 mxnet 时出错

转载 作者:行者123 更新时间:2023-12-01 09:33:01 27 4
gpt4 key购买 nike

我正在尝试在我的 MacBook Pro 上安装 mxnet。在他们的网站上的第一步是通过输入以下内容来安装 Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

在终端中。

这给了我下面的错误。

Conrados-MBP:~ conrados$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" curl: (1) Protocol "https" not supported or disabled in libcurl

我该如何解决这个问题?

最佳答案

嘿@Montmons,一切都很成功,但只有一个错误。错误提示

Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.

下面是我输入时终端的输出

ruby -e "$(/usr/bin/curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

终端输出:

Conrados-MBP:~ conrados$ ruby -e "$(/usr/bin/curl -fsSL 

https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following new directories will be created:
/usr/local/sbin
==> The Xcode Command Line Tools will be installed.

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /usr/local/sbin
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/sbin
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /usr/sbin/chown conrados /usr/local/sbin
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/sbin
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown conrados /Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode-9.3
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ High\ Sierra\ version\ 10.13)\ for\ Xcode-9.3
Software Update Tool


Downloading Command Line Tools (macOS High Sierra version 10.13) for Xcode
Downloaded Command Line Tools (macOS High Sierra version 10.13) for Xcode
Installing Command Line Tools (macOS High Sierra version 10.13) for Xcode
Done with Command Line Tools (macOS High Sierra version 10.13) for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
Password:
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Downloading and installing Homebrew...
HEAD is now at 50059990 Merge pull request #4053 from MikeMcQuaid/string-undent-fix
Updated 1 tap (homebrew/core).
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/conrados/Library/Caches/Homebre
==> Deleting /Library/Caches/Homebrew...
==> New Formulae
patchelf
==> Updated Formulae
sqlite ✔ fobis ncmpcpp sqlite-analyzer
afsctool gist nss wildfly-as
apibuilder-cli git-sizer php xrootd
cimg jenkins php@5.6 xtensor
coreos-ct jenkins-lts php@7.0 yaws
dbhash knot php@7.1
di libqalculate sops
fibjs maxwell sqldiff
Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics.html

==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
Conrados-MBP:~ conrados$

关于python - 在 mac 操作系统上安装 mxnet 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49786904/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com