12/27/2021

Brew Install Conda

33

Macでbrew install opencvが使える一方で pip install opencvやconda install opencvが使えます。 この違いはなんでしょうか。 またどのように違いを把握したり、勉強すればいいのか手がかりをご存知でしょうか。 brewで入れた場合はgitを落としてmakeした場合と同じで. Linux-64 v1.2.10. To install this package with conda run one of the following: conda install -c bioconda velvet. Conda install -c bioconda/label/cf201901 velvet. Conda install linux-64 v1.06; noarch v1.06; osx-64 v1.06; win-64 v1.06; To install this package with conda run one of the following: conda install -c conda-forge r-brew.

Installing anaconda on a macOS is not a simple task. Sometimes it requires a lot of troubleshooting, like setting the right shell initialization. To solve this I propose to install anaconda through homebrew. All of these commands are performed through the terminal unless otherwise specified in step 3.

1. Install homebrew

/bin/bash -c '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)'

2. Install anaconda

brew install --cask anaconda

3. Set the right anaconda path

Edit the ~/.zshrc file. You can do it using vim:

Conda

vim ~/.zshrc

And add the following line at the bottom:

export PATH='/usr/local/anaconda3/bin:$PATH'

This sets the anaconda directory on the global path variable from the macOS operating system.

Brew Install Anaconda Conda Not Found

4. Restart the terminal

You can either close the terminal or load the path configuration running:

source ~/.zshrc

5. Initialize conda’s shell

Mac Brew Install Conda

You have several options bash, fish, tcsh, xonsh, zsh, and powershell. But I recommend the following

conda init zsh

Brew Install Conda M1

That’s it! Otherwise, shoot me a comment and we’ll figure out.

  • Most Viewed News

    • Cara Install Hackintosh Mojave Di Laptop
    • Mac Bootable Flash Drive
    • Traefik Install Ubuntu
    • Install Docker Ubuntu Server 18.04