Skip to content

Instantly share code, notes, and snippets.

@dmerejkowsky
Last active April 18, 2018 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmerejkowsky/4cadfc98237c152c1b202493cce1d9a7 to your computer and use it in GitHub Desktop.
Save dmerejkowsky/4cadfc98237c152c1b202493cce1d9a7 to your computer and use it in GitHub Desktop.
Using pipenv with pyenv to debug a ci failure on python3.4
# 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