Skip to content

Instantly share code, notes, and snippets.

@rightson
Created November 16, 2017 10:06
Show Gist options
  • Save rightson/06e291a853db8fcce71dde389db59c48 to your computer and use it in GitHub Desktop.
Save rightson/06e291a853db8fcce71dde389db59c48 to your computer and use it in GitHub Desktop.
Link to a specific version of sqlite3 when building Python 3 versions
# 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