Put Python's numerical calculation environment Anaconda on mac (2)

Thing you want to do

Anaconda was successfully installed in Installing Python's numerical calculation environment Anaconda on mac. However, since python of pyenv and python3 system of Anaconda3-4.3.0 can be used as it is, make python2 system work with Anaconda.

I tried it

Try running python first, and if it seems to work with pyenv

tarminal


$ pyenv global anaconda3-4.3.0
$ which python
.pyenv/versions/anaconda3-4.3.0/bin/python

Now you can run python on Anaconda. Next, preparation for running python2 system with Anaconda.

tarminal


$ conda create -n python27 python=2.7 anaconda

Execute the above command and wait for it to finish. When you're done, you're ready to go. You can switch between 2 and 3 with each command below.

tarminal


$ source ~/.pyenv/versions/anaconda3-4.3.0/bin/activate python27
$ source ~/.pyenv/versions/anaconda3-4.3.0/bin/deactivate

Recommended Posts

Put Python's numerical calculation environment Anaconda on mac (2)
Put Python's numerical calculation environment Anaconda on mac
Anaconda environment construction on Mac (2018 version)
Put Anaconda on your Mac using Pyenv
Build Python environment with Anaconda on Mac
Pyramid + mongodb environment on Mac
Anaconda environment construction on CentOS7
Install module on Anaconda (Mac)
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
Building a Python environment on Mac
tensor flow with anaconda on mac
Install anaconda on Mac → Add Library
Anaconda python environment construction on Windows 10
Create a Python environment on Mac (2017/4)
Python environment construction memo on Mac
Install Python 3.7 Anaconda on MAC, but Python 2
Environment construction of python3.8 on mac
Build a Python environment on your Mac with Anaconda and PyCharm
Django Crispy Tutorial (Environment Building on Mac)
[Python] Building an environment with Anaconda [Mac]
Create a python environment on your Mac
Put PySide + PyInstaller-> empty qt.conf on Mac
I installed Kivy on a Mac environment
Try to build python and anaconda environment on Mac (by pyenv, conda)
Install anaconda on a new Mac anyway
Build Python3.5 + matplotlib environment on Ubuntu 12 using Anaconda
Build a Python environment on Mac (Mountain Lion)
[0] TensorFlow-GPU environment construction built with Anaconda on Ubuntu
Building an environment for matplotlib + cartopy on Mac
Build a Python development environment on your Mac
[Node-RED] Execute Python on Anaconda virtual environment from Node-RED [Anaconda] [Python]
Put Python 2.7.x on Mac OSX 10.15.5 with pyenv
Remove old pyenv environment on Mac and update
Theano on Anaconda
python on mac
Install Python3 on Mac and build environment [Definitive Edition]
Build a Django development environment using pyenv-virtualenv on Mac
Install Python venv --VSCode --GitHub integration environment on Mac
[Environment construction] @anaconda that runs keras / tensorflow on GPU
Build a local development environment for Laravel6.X on Mac
Building an environment for "Tello_Video" on Mac OS X
Build a machine learning Python environment on Mac OS
Create a comfortable Python 3 (Anaconda) development environment on windows
Build a Python development environment on Mac OS X
Build a Python environment on your Mac using pyenv
Double-click to open ipynb file (Mac, Anaconda virtual environment)
Notes on creating a virtual environment with Anaconda Navigator
Install Python environment on local PC (pyenv, venv on Mac)
Make anaconda environment available from command prompt on windows
Build a numerical calculation environment with pyenv and miniconda3