How to fix “unknown url type: https” error in easy_install

Question: I am trying to build and install a Python package with easy_install, but I am getting "unknown url type: https" error during package download. How can I fix this error?

A symptom of this error looks like the following.

Download error on unknown url type: https -- Some packages may not be found!
Couldn't find index page for 'regex' (maybe misspelled?)

A possible fix to this error is to install SSL development libraries and header files.

On Debian, Ubuntu or Linux Mint:

$ sudo yum install libssl-dev

On CentOS, Fedora or RHEL:

$ sudo yum install openssl-devel

Download this article as ad-free PDF (made possible by your kind donation): 
Download PDF

Subscribe to Ask Xmodulo

Do you want to receive Linux related questions & answers published at Ask Xmodulo? Enter your email address below, and we will deliver our Linux Q&A straight to your email box, for free. Delivery powered by Google Feedburner.

Support Xmodulo

Did you find this tutorial helpful? Then please be generous and support Xmodulo!

Leave a comment

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