我刚尝试通过终端使用Home-brew安装Anaconda,并收到以下消息:
L-MBP:agda-stdlib le$ brew install conda
Updating Homebrew...
Error: No available formula with the name "conda"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
L-MBP:agda-stdlib le$ brew install anaconda
Error: No available formula with the name "anaconda"
Found a cask named "anaconda" instead. Try
brew cask install anaconda``
L-MBP:agda-stdlib le$ brew cask install anaconda
==> Caveats
Cask anaconda installs files under /usr/local. The presence of such
files can cause warnings when running `brew doctor`, which is considered
to be a bug in Homebrew Cask.
...
installation finished.
==> Changing ownership of paths required by anaconda; your password may be necessary
anaconda was successfully installed!
L-MBP:agda-stdlib le$ conda create --name snakes python=3.7.2
-bash: conda: command not found
L-MBP:agda-stdlib le$ conda -bash: conda: command not found
当我尝试打开Anaconda并创建Python环境时,我收到了“命令未找到”的消息。
问题出在哪里?
-bash: conda: command not found
- user65526