I want to put Anaconda on my mac See here for Anaconda
Try installing through Homebrew.
First, install pyenv with Homebrew.
tarminal
$ brew install pyenv
If you hit the above command, check if it is included.
tarminal
$ brew list
pyenv
If pyenv is included as above, the installation is successful. There may be other than pyenv, but there is no problem.
Then install Anaconda with pyenv If the pyenv command cannot be used at this time, it will be given through $ PATH.
tarminal
$ export PATH='.pyenv/shims:$PATH'
This is temporary, but I think that pyenv's PATH has passed.
Once you can use the pyenv command, it's time to install Anaconda.
tarminal
$ pyenv install anaconda3-4.3.0
Anaconda version is 3-4.3.0 as of March 14, 2017 Maybe this installed Anaconda. Installation check
tarminal
$ pyenv versions
anaconda3-4.3.0
If the Anaconda installation is successful, check if the command works again and If it doesn't work, go through PATH.
tarminal
$ export PATH='.pyenv/versions/anaconda3-3.4.0/bin:$PATH'
Now you can use Anaconda. Finally, update Anaconda.
tarminal
$ conda install conda
After that, if you save the one that passed through the PATH properly, you should be able to use conda from now on.
Recommended Posts