Last active
April 18, 2018 16:20
-
-
Save dmerejkowsky/4cadfc98237c152c1b202493cce1d9a7 to your computer and use it in GitHub Desktop.
Using pipenv with pyenv to debug a ci failure on python3.4
This file contains 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
# on arch, install openssl-1.0 and then: | |
CFLAGS="-DOPENSSL_NO_SSL2 -I/usr/include/openssl-1.0" LDFLAGS=-L/usr/lib/openssl-1.0 pyenv install 3.4.6 | |
# on debian, install all build deps and then: | |
sudo apt install libbz2-dev libssl1.0-dev libreadline-dev zlib1g-dev libsqlite3-dev | |
CFLAGS=-DOPENSSL_NO_SSL2 pyenv install 3.4.6 | |
git clone tsrc tsrc-3.4 | |
cd tsrc-3.4 | |
pyenv local 3.4.6 | |
pipenv install --python $(pyenv which python) --dev | |
pipenv shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment