Message352566
I guess it's due to the binary not being built with ssl module. During build did you get a message like below ?
Could not build the ssl module!
Python requires an OpenSSL 1.0.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().
LibreSSL 2.6.4 and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381
In the REPL you can verify it by trying to import ssl module that would fail if python was not built with ssl
./python.exe
Python 3.9.0a0 (heads/pr_16148:1a801bd50d, Sep 16 2019, 22:15:26)
[Clang 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl' |
|
Date |
User |
Action |
Args |
2019-09-16 18:26:15 | xtreak | set | recipients:
+ xtreak, christian.heimes, Jonathan.Gossage, ammar2 |
2019-09-16 18:26:15 | xtreak | set | messageid: <1568658375.14.0.0419068841666.issue38189@roundup.psfhosted.org> |
2019-09-16 18:26:15 | xtreak | link | issue38189 messages |
2019-09-16 18:26:14 | xtreak | create | |
|