mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-15 23:03:53 -05:00
openssl: +subheaders
@@ -176,11 +176,11 @@ MACOSX_DEPLOYMENT_TARGET=10.14
|
|||||||
|
|
||||||
## ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
|
## ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?
|
||||||
|
|
||||||
0. First, check
|
### 0. First, check
|
||||||
* if you actually have OpenSSL and its headers installed (and for the right architecture and ecosystem if there are more than one at your machine)
|
* if you actually have OpenSSL and its headers installed (and for the right architecture and ecosystem if there are more than one at your machine)
|
||||||
* if the problem is resolved by upgrading Pyenv to the latest release and to the head version
|
* if the problem is resolved by upgrading Pyenv to the latest release and to the head version
|
||||||
|
|
||||||
1. **OpenSSL is installed to an uncommon location.**
|
### 1. **OpenSSL is installed to an uncommon location.**
|
||||||
|
|
||||||
Pass the location of its headers and libraries explicitly:
|
Pass the location of its headers and libraries explicitly:
|
||||||
|
|
||||||
@@ -232,7 +232,7 @@ MACOSX_DEPLOYMENT_TARGET=10.14
|
|||||||
pyenv install -v 3.7.2
|
pyenv install -v 3.7.2
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Your OpenSSL version is incompatible with the Python version you're trying to install**
|
### 2. **Your OpenSSL version is incompatible with the Python version you're trying to install**
|
||||||
|
|
||||||
Old Python versions (generally, <3.5 and <2.7.13) require OpenSSL 1.0 while newer systems provide 1.1, and vice versa.
|
Old Python versions (generally, <3.5 and <2.7.13) require OpenSSL 1.0 while newer systems provide 1.1, and vice versa.
|
||||||
Note that OpenSSL 1.0 is EOL and by now practically unusable on the Internet due to using obsolete standards.
|
Note that OpenSSL 1.0 is EOL and by now practically unusable on the Internet due to using obsolete standards.
|
||||||
|
|||||||
Reference in New Issue
Block a user