![](https://secure.gravatar.com/avatar/1ecbc9244c44128e90038a6e0376663b.jpg?s=120&d=mm&r=g)
Your configure script did pick up openssl as the support version was not found. What is your operating system? Make sure you have supported version of ssl. Python requires openssl 1.1.1 or higher. On Mac, I had to use brew to install it and --with-openssl flag. On some linux machines, I have had to download openssl, compile it, and point my the configure script to (location I compiled openssl). CFLAGS="-I$HOME/openssl/include" LDFLAGS="-L$HOME/openssl/lib" Thank you, Senthil On Mon, Oct 18, 2021 at 08:16:01PM +0530, Sandeep Gupta wrote:
I am having compilation issues again with python3.10 with ssl .
The ./configure was invoked with ssl options and ssl modules seems to be build successfully.
""" The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc _hashlib _ssl pwd time """
However, when I do import ssl from python, I get the error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/shared/Builds/Python-3.10.0/lib/python3.10/ssl.py", line 98, in <module> import _ssl # if we can't import it, let the error propagate ModuleNotFoundError: No module named '_ssl'
I can't find _ssl.so in build or install directory.
Thanks -S _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-leave@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/IIFABHN7... Code of Conduct: http://python.org/psf/codeofconduct/