Install Anaconda with the following command,
% brew cask install anaconda
Just set the path as follows.
% echo 'export PATH="/usr/local/anaconda3/bin:$PATH"' >> ~/.zshrc
% source ~/.zshrc
With just this, you can build the latest Python execution environment.
% python -V
Python 3.7.4
Also, check the list of installed packages (including version information) by running the following command:
% conda list
# packages in environment at /usr/local/anaconda3:
#
# Name Version Build Channel
_anaconda_depends 2019.03 py37_0
_ipyw_jlab_nb_ext_conf 0.1.0 py37_0
alabaster 0.7.12 py37_0
anaconda custom py37_1
anaconda-client 1.7.2 py37_0
anaconda-navigator 1.9.7 py37_1
anaconda-project 0.8.4 py_0
...
To update all installed packages, use the following command.
% conda update --all
By the way, instead of specifying --all
as an option, you can write the package name to update only a specific package.
Recommended Posts