Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to checkout a repository using hg on Mac OS X.

I am getting this error:

$ hg clone -r release $GOROOT
abort: Python support for SSL and HTTPS is not installed

And I check my hg and python location, but I forget how I installed hg and python on my computer.

$ which hg
$ which python

Can you please tell me how can I fix my problem?

share|improve this question
up vote 2 down vote accepted

Try running this in your Terminal:

sudo port install py25-socket-ssl

Also, make sure you've got the latest versions of mercurial and Python.

share|improve this answer
ALso your path is mixed - you get Macports mercurial but Apple's python which could be the problem. Install from Macports python_select and choose python25 or python26 – Mark Nov 12 '09 at 13:32
Thanks. I tried. $ sudo port pythong_select Password: Unrecognized action "pythong_select" but i get 'unrecognized action' error. – n179911 Nov 14 '09 at 9:03

Don't use MacPorts or Fink to install things that are either already on your system or aren't particularly difficult to build normally. Apple's Python and Ruby installations have a very specific structure which package managers tend to destroy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.