Steps to install python3 on mac

Install pyenv with brew

$ brew install pyenv

Pass through PATH. vim ~/.bash_profile Add the following to

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

Reflect source ~/.bash_profile

echo $PATH Confirm with

install python

$ pyenv install 3.6.1

BUILD FAILED (OS X 10.12.5 using python-build 20160602) hogehoge~~ zipimport.ZipImportError: can't decompress data; zlib not available make: *** [install] Error 1

If the installation fails as described above, install zlib and install again.

$ xcode-select --install

Install it again and you're done!

Switching ver

$ pyenv global 3.6.1

Confirmation of ver

$ python --version

Recommended Posts

Steps to install python3 on mac
Steps to install matplotlib on Mac
Steps to install the latest Python on your Mac
Install Python on Mac
Install Python 3 on Mac
Install Python 3.4 on Mac
Steps to install Python environment on Ubuntu
Install pygame on python3.4 on mac
Update python on Mac to 3.7-> 3.8
Install pandas 0.14 on python3.4 [on Mac]
Steps to install MySQL 8.0 on CentOS 8.1
How to install mysql-connector-python on mac
Steps to install VirtualBox on CentOS
Install Python 3.7 Anaconda on MAC, but Python 2
Install python3 on Mac (El Capitan)
How to install OpenCV on Mac
python on mac
Update Python on Mac from 2 to 3
How to install drobertadams / toggl-cli on Mac
[Kivy] How to install Kivy on Windows [Python]
How to erase Python 2.x on Mac.
Install Tensorflow on Mac
Install pyenv on mac
How to install Python
Install Python on Pidora.
Install Scrapy on python3
Install Ansible on Mac
Install Python3.4 on CentOS 6.6
Install python on windows
Install Caffe on Mac
Install mecab on mac
Install mecab-python on Mac
Install Python 3.6 on Docker
I want to know if you install Python on Mac ・ Iroha
[2020 version] How to install Python3 on AWS EC2
How to install Python [Windows]
Install watchdog on Windows + Python 3.3
Install Python 3.8 on CentOS 7 (SCL)
Install numba on your Mac
Handling of python on mac
Install OpenCV on Ubuntu + python
Notes on installing Python on Mac
Install Django on your Mac
Install pillow on Mac OSX 10.9
[Mac] Tips: Install pyquery on Mac [pyquery]
Install Python 3.8 on CentOS 8 (AppStream)
[Python] [Chainer] [Windows] Install Chainer on Windows
Install Python3 on Mac and build environment [Definitive Edition]
Install Python venv --VSCode --GitHub integration environment on Mac
Install selenium on Mac and try it with python
Very easy to install SciPy on Mac OS X
Preferences to generate animated GIFs from Python on Mac
I want to AWS Lambda with Python on Mac!
Install Python environment on local PC (pyenv, venv on Mac)
How to install python using anaconda
Building a Python environment on Mac
Install Python Pillow on Amazon Linux
Steps to deploy EMLauncher on CentOS 8
Install Python 3.8 on Ubuntu 18.04 (OS standard)
If python on mac goes missing
Python 3.6 on Windows ... and to Xamarin.