Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.