MacOS에 python3 설치하기(+ pipenv)

Mac에 python3 설치하기

1) Install Python 3.6.x from https://www.python.org/downloads/ or homebrew.

$ brew install python3   # Installed at /usr/local/{user}/python3

python 버전 확인

$ python3
>>> Python 3.6.5

2) pip 설치하기 (brew로 설치했을 경우는 패스)

$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3 get-pip.py

3) pipenv 설치하기

$ pip3 install pipenv

mcauto 2018 ©