1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-15 06:43:53 -05:00

None of the suggestions worked until I downgraded openssl-dev

paulo alem
2019-03-15 14:04:20 +00:00
parent ad8a37e98c
commit 826ce8a455

@@ -179,6 +179,12 @@ LDFLAGS="-L/usr/lib/openssl-1.0" \
CFLAGS="-I/usr/include/openssl-1.0" \ CFLAGS="-I/usr/include/openssl-1.0" \
pyenv install -v 3.4.3 pyenv install -v 3.4.3
``` ```
If you're having trouble to get it to compile older python versions(<3.5) even after installing the recommended packages on ubuntu, changing the openssl lib might help:
```sh
sudo apt-get remove libssl-dev
sudo apt-get install libssl1.0-dev
```
* Alternatively, if you installed openssl with macports, use the following paths: * Alternatively, if you installed openssl with macports, use the following paths: