Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 https://go.googlecode.com/hg/ $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
/opt/local/bin/hg
$ which python
/usr/bin/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
1  
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .