Home » Centos/RHEL » How to fix unknown url type: https and No module named_ssl error on linux server

How to fix unknown url type: https and No module named_ssl error on linux server

If getting error “unknown url type: https” and No module named_ssl error on linux server
This tutorial will help to resolve the python script error “unknown url type: https” and “No module named_ssl” on linux server.
This error message generally occurs if you didn’t install python dependencies most likely openssl-devel.So install the above dependency to resolve the error.

On Ubuntu

root@linuxpcfix [~]# sudo yum install libssl-dev

On CentOS, Fedora or RHEL:

root@linuxpcfix [~]#$ yum install openssl-devel

Further make sure the module named _ssl.so should be exist in “/usr/local/lib/python2.7/lib-dynload/” directory.

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud