Mercurial startup

Humebug m.j.johnson88 at gmail.com
Sun Feb 28 15:56:17 UTC 2010


Robert Bauck Hamar <r.b.hamar <at> usit.uio.no> writes:

> 
> *Humebug:
> >I get the error message:
> >abort: could not import module _ssl!
> >I have checked my python, and there is an _ssl-c file in the Modules folder. 
> 
> It seems to me that your python is compiled without ssl support. The 
> _ssl module should, on Ubuntu and other *nix systems, be found inside a 
> _ssl.so file. On my system, "pydoc _ssl" tells me that it's located in 
> /usr/lib64/python2.6/lib-dynload/_ssl.so.
> 
> If you are on Ubuntu, it seems strange to me that ssl support is not 
> enabled. Have you compiled Python yourself? In that case, are the 
> openssl-dev (or similar) package installed?
> 

I had compiled the Python myself. After your message I checked my python and
found that there were some errors. A quick google search revealed that this had
happened to someone else:

http://www.lysium.de/blog/index.php?/archives/229-Installing-Python-2.6-on-Ubuntu-8.04.html

I tried their fix, and no longer get the error message in the python test.

However after removing and reinstalling mercurial I am still getting the same
error message when trying to clone.

Is there a way to "enable" ssl support?

Thanks for your quick response, that was a really nice surprise.




More information about the Mercurial mailing list