Created
November 16, 2017 10:06
-
-
Save rightson/06e291a853db8fcce71dde389db59c48 to your computer and use it in GitHub Desktop.
Link to a specific version of sqlite3 when building Python 3 versions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# references: https://github.com/pyenv/pyenv/issues/333 | |
# get pyenv | |
git clone https://github.com/pyenv/pyenv.git ~/.pyenv | |
# configure pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> $PROFILE | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> $PROFILE | |
# install python | |
LDFLAGS="-L/usr/local/lib" CPPFLAGS="-I/usr/local/include" pyenv install -v 3.6.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment