Skip to content Skip to sidebar Skip to footer

Django | Gunicorn | Importerror: No Module Named _ssl

Configured and installed python2.7 as below: ./configure --enable-shared --with-ssl make install And then install gunicorn with command python setup.py install. Installation went

Solution 1:

I assume that you are using a Linux distro since you compiled python from source. You need at least 2 SSL library: openssl and openssl-devel

With Ubuntu: apt-get install openssl openssl-devel

With Redhat based: yum install openssl openssl-devel

To build from source, you can download from: openssl and openssl-devel

Hope it helps.

Post a Comment for "Django | Gunicorn | Importerror: No Module Named _ssl"