Python development environment construction on macOS

I'm sorry, it's almost a memo for myself.

reference

procedure

Homebrew

bash


brew doctor
brew update

Xcode

bash


xcode-select --install

pyenv

Installation

bash


brew install pyenv
pyenv install 3.6.1
pyenv global 3.6.1

Path setting

bash


export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"

pip installation

easy_install pip

Visual Studio Code Add the following to the preferences

json


"python.venvPath": "~/.pyenv"

Recommended Posts

Python development environment construction on macOS
python2.7 development environment construction
Python3 + venv + VSCode + macOS development environment construction
[MEMO] [Development environment construction] Python
Python environment construction memo on Windows 10
Prepare Python development environment on Ubuntu
Anaconda python environment construction on Windows 10
Python environment construction
Environment construction (python)
Python environment construction memo on Mac
[Python3] Development environment construction << Windows edition >>
python environment construction
Python --Environment construction
Environment construction of python3.8 on mac
QGIS3 Python plugin development environment construction with VSCode (macOS)
Build a Python development environment using pyenv on MacOS
Python environment construction
Install Python development environment on Windows 10
Emacs Python development environment construction memo
python environment construction
OpenCV3 & Python3 environment construction on Ubuntu
Memo of python + numpy/scipy/pandas/matplotlib/jupyterlab environment construction on M1 macOS (as of 2020/12/24)
Addition of local development environment on MacOS
Python development environment for macOS using venv 2016
Build a python environment on MacOS (Catallina)
Python and machine learning environment construction (macOS)
Windows + gVim + Poetry python development environment construction
python windows environment construction
homebrew python environment construction
About Python development environment
Development environment in Python
Mac environment construction Python
Python environment construction @ Win7
[Note] Python environment construction on rental server "CORESERVER"
Build a Python development environment on your Mac
Set up a Python development environment on Marvericks
Create a Python virtual development environment on Windows
Build a Python development environment on Raspberry Pi
Python + Anaconda + Pycharm environment construction
Anaconda environment construction on CentOS7
Django development environment construction memo
Python + Kivy development on Windows
Python environment construction (Windows10 + Emacs)
CI environment construction ~ Python edition ~
Made python available on macOS
Python environment construction For Mac
Anaconda3 python environment construction procedure
Build Python environment on Windows
Python3 environment construction (for beginners)
Organize your Python development environment
Python environment construction and TensorFlow
Django environment development on Windows 10
[ev3dev × Python] Build ev3dev development environment
Build python environment on windows
Python environment construction under Windows7 environment
[For organizing] Python development environment
[Tensorflow] Tensorflow environment construction on Windows 10
django project development environment construction
Linux environment construction (on WSL environment)
Environment construction of python2 & 3 (OSX)
[MEMO] [Development environment construction] wine