Fixing openssl/ssl dependency for python 3.5.0

Yesterday I spent couple of hours on how to fix the following error: import _ssl # if we can't import it, let the error propagate ModuleNotFoundError: No module named '_ssl' The error popped up during the setup process of a docker container for CI pipeline which should test a python cli tool with tox. The problem could easily be rooted to a openssl library dependency. I also tried the setup with pyenv which is an easy python environment tool but with this approach the same errors occurred....

May 14, 2020 · 2 min · Moritz Gnisia