[PYTHON] Install anaconda on a new Mac anyway

0. Introduction

Every time I renew my PC, I always find out how to put anaconda on my Mac, so I write it down. Even if it's not development work, it's convenient to put it in.

Follow the steps below to install.

  1. Install pyenv
  2. Install anaconda

1. Install pyenv

Clone pyenv from github. The first time you use git, you may be prompted to install command line tools.

git clone https://github.com/pyenv/pyenv.git ~/.pyenv

Put it through the path of pyenv.

$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zprofile
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zprofile
$ echo 'eval "$(pyenv init -)"' >> ~/.zprofile

Now that you can use pyenv, restart the terminal.

2. Install anaconda

Check the installable anaconda with the following command.

$ pyenv install --list | grep anaconda

Install anaconda with the following command.

$pyenv install The version of anaconda you want to include

It should be used all the time, so set it globally.

$pyenv global Same as the version entered in ↑

that's all

Recommended Posts

Install anaconda on a new Mac anyway
Install module on Anaconda (Mac)
Install anaconda on Mac → Add Library
Install opencv on Mac using Anaconda Navigator
Install Tensorflow on Mac
Install pyenv on mac
Install Ansible on Mac
Install Python on Mac
Install Python 3 on Mac
Install Python 3.4 on Mac
Install Caffe on Mac
Install mecab on mac
Install mecab-python on Mac
Install pygame on python3.4 on mac
Install OpenPose on mac (Catalina)
Install numba on your Mac
Install pandas 0.14 on python3.4 [on Mac]
Install Django on your Mac
Install pillow on Mac OSX 10.9
Building a Python environment on Mac
tensor flow with anaconda on mac
How to install mysql-connector-python on mac
Steps to install matplotlib on Mac
Anaconda environment construction on Mac (2018 version)
Create a Python environment on Mac (2017/4)
Install Sphinx on Mac OS X
Install python3 on Mac (El Capitan)
How to install OpenCV on Mac
Install mitmproxy on Mac OS X
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Install PyStan on Windows without Anaconda
Steps to install python3 on mac
Install pgmagick on Mac OS X 10.9
Build a Python environment on your Mac with Anaconda and PyCharm
Install Anaconda on Mac and upload Jupyter (IPython) notebook to Anaconda Cloud
How to install Theano on Mac OS X 10.10 (using pyenv, anaconda)
How to install drobertadams / toggl-cli on Mac
Create a python environment on your Mac
Put Anaconda on your Mac using Pyenv
I installed Kivy on a Mac environment
Build Python environment with Anaconda on Mac
Personal Note Package to install on Anaconda
Put Python's numerical calculation environment Anaconda on mac (2)
Put Python's numerical calculation environment Anaconda on mac
Build a Python environment on Mac (Mountain Lion)
Theano on Anaconda
Build a Python development environment on your Mac
python on mac
Try to create a new command on linux
[Python] How to install OpenCV on Anaconda [Windows]
How to install / verify graphviz on anaconda / windows10
Until you install Anaconda for data analysis on your Mac and launch the IDE
Install Python3 on Mac and build environment [Definitive Edition]
Install Python venv --VSCode --GitHub integration environment on Mac
Set up a simple local server on your Mac
Build a local development environment for Laravel6.X on Mac
Install selenium on Mac and try it with python
Steps to install the latest Python on your Mac
Very easy to install SciPy on Mac OS X
How to install Linux on a 32bit UEFI PC
Create a comfortable Python 3 (Anaconda) development environment on windows