I checked Mac Python environment construction

Motivation

When I was wondering why machine learning has made so much progress in the last few years, I came across a book that carefully explained using phthon. Deep Learning from scratch --The theory and implementation of deep learning learned in Python. Since I recommend anaconda, I immediately tried to create an execution environment for Mac, but I checked it with google teacher and Qiita, but everyone's recommendations are mixed and I honestly do not understand. After a lot of research, I decided to install anaconda directly in my case.

Study from the article

What is Anaconda?

At Origin (https://www.anaconda.com/what-is-anaconda/), Anaconda is The Most Popular Python Data Science Platform, which includes Anaconda Partners, Anaconda Enterprise, Anaconda Distrubution, Anaconda Support and more. .. At its core is Anaconda Distrubution, which includes data science packages and conda packages, and virtual environment managers for Windows, Linux, and Mac OS. (Commentary that people who know it will understand it well.)

Roughly speaking, a Python library for data science and a tool to manage it.

Reference: t2y, "Anaconda is not an Environment Isolation Tool", Qiita, 2016/11/12 Explaining what Anaconda is There is. Anaconda is a distribution for Open Data Science. Distributions have a package management system for distributing sources and binaries. Package management includes package management for system management and package management for applications that build what the application needs in the user area. (ana) conda is a package management tool for applications intended to facilitate Open Data Science and data science collaboration.

Problems with Anaconda

According to an article by Mr. sibukawa

I set Anaconda's / bin to the path, but the tools that Anaconda has (openssl / curl / python) obscure the tools that the OS has.

However, it seems that uninstalling is easy, so it may be easier as it is.

Procedure etc.

t2y, "Installing Python environment with Anaconda", Qiita, 2017/2/4

PyEnv shibukawa, "Flowchart if pyenv is needed", Qiita, 2017/9/3 There is a development aid tool in the category called Environment Isolation Tool. venv/virtualenv

So what happened

I installed anaconda as it is.

start


ipython notebook

Document

category name Overview Features/Caution
Mac package management Homebrew
version control pyenv pythonのversion control You can switch between 2 and 3, but if you don't change it, it will take more time.
Environmental management virtual-env
Distribution anaconda python+package Note the order of PATH registration
Package management conda for anaconda
Package management pip python general

Environment construction example

article package Environmental management distribution Library management Library Machine learning
Library
editor IDE
Yoshizaki homebrew python3 pip numpy,
scipy,
matplotlib, pandas
scikit-learn, chainer, jupyter atom
shizma homebrew pyenv, virtualenv anaconda pip ipython notebook
myself None None anaconda conda As appropriate As appropriate ipython notebook

Recommended Posts

I checked Mac Python environment construction
Mac environment construction Python
Python environment construction For Mac
Python environment construction
Environment construction (python)
Python environment construction memo on Mac
python environment construction
Python --Environment construction
Environment construction of python3.8 on mac
Python environment construction
Python3 TensorFlow for Mac environment construction
python environment construction
python windows environment construction
homebrew python environment construction
Anaconda-4.2.0-python3 environment construction (Mac)
Python development environment construction
python2.7 development environment construction
Pyxel environment construction (Mac)
Python environment construction @ Win7
Python3 TensorFlow environment construction (Mac and pyenv virtualenv)
Python explosive environment construction starting from zero (Mac)
Python + Anaconda + Pycharm environment construction
Python environment construction (Windows10 + Emacs)
CI environment construction ~ Python edition ~
Anaconda3 python environment construction procedure
Python3 environment construction (for beginners)
Python environment construction and TensorFlow
Python environment construction under Windows7 environment
[MEMO] [Development environment construction] Python
Environment construction of python2 & 3 (OSX)
Ansible environment construction For Mac
Python environment construction on Mac (pyenv, virtualenv, anaconda, ipython notebook)
Building a Python environment on Mac
Environment construction of python and opencv
Mac + Eclipse (PyDev) + Django environment construction
Python environment construction memo on Windows 10
Get started with Python! ~ ① Environment construction ~
Anaconda python environment construction on Windows 10
Error when building mac python environment
[Python] Anaconda environment construction (installation, startup, virtual environment, package management) Mac environment
Anaconda environment construction on Mac (2018 version)
Create a Python environment on Mac (2017/4)
Python environment construction (pyenv, anaconda, tensorflow)
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
Python environment construction (pyenv + poetry + pipx)
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Emacs Python development environment construction memo
pytorch @ python3.8 environment construction with pipenv
[docker] python3.5 + numpy + matplotlib environment construction
Python3.6 environment construction (using Win environment Anaconda)
OpenCV3 & Python3 environment construction on Ubuntu
VScode environment construction (on Mac) & graph display in Python (@browser)
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
Mac OS X Mavericks 10.9.5 Development environment construction
[Python] Building an environment with Anaconda [Mac]
Python project environment construction procedure (for windows)
Creating amateur python environment settings (for MAC)
[Python] Road to snake charmer (1) Environment construction
I want to build a Python environment
How to prepare Python development environment [Mac]