Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit f0fea19

Browse files
committed
docs(README): Recommend installing python via pyenv
1 parent 796668a commit f0fea19

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,18 @@ apt-get install postgresql libpq-dev
6464

6565
### Python
6666

67-
Python 3.5 is a minimum requirement and can be installed via `homebrew`:
67+
Python 3.5 is a minimum requirement and can be installed via `pyenv`:
6868

6969
```
70-
brew install python3
70+
brew install pyenv
71+
```
72+
73+
- After installing, ensure [`eval "$(pyenv init -)"` is added to your shell startup.](https://github.com/yyuu/pyenv/#homebrew-on-mac-os-x)
74+
- Install and use Python 3.5:
75+
```
76+
pyenv install 3.5.0
77+
# if you have build issues, ensure Xcode CLI tools are installed:https://github.com/yyuu/pyenv/issues/451#issuecomment-151336786
78+
python local 3.5.0 # use Python 3.5.0 in your current directory
7179
```
7280

7381
Or via your package manager. For example, on Debian Jessie:

0 commit comments

Comments
 (0)