Python Forum

Full Version: Could not build the ssl module while installing python3.7 from tar ball
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can see my libssl is installed here: /usr/lib/x86_64-linux-gnu/libssl.so

However I am still getting this error after running ./configure; make

My system is Ubuntu 14.04.5 LTS. How can I modify the setup.py file to make it work? Thanks.
Error:
Python build finished successfully! The necessary bits to build these optional modules were not found: _ssl _uuid To find the necessary bits, look in setup.py in detect_modules() for the module's name. The following modules found by detect_modules() in setup.py, have been built by the Makefile instead, as configured by the Setup files: _abc atexit pwd time 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
Never mind. sudo apt update solves my problem.