Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mountain Lion update and mercurial libraries python

I updated the mac to Mountain Lion (10.8) and now the project I developed with Python and Google App Engine does not work.

GAE libraries are found, while standard Python libraries (are these Python libraries?) are missed (e.g. cgi, logging, json).

When I open eclipse (which has PyDeV) I receive this alert:

abort: couldn't find mercurial libraries in 
[/Library/Python/2.7/site-packages/  /usr/local/bin
/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg 
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
/Library/Python/2.7/site-packages] (check your install and
PYTHONPATH). Command line: hg -y debuginstall

Does anyone know how to fix this?

like image 913
EsseTi Avatar asked Aug 03 '12 14:08

EsseTi


4 Answers

On OS X - 10.8.2 Installing mercurial through Python easy_install tool solved the problem

easy_install -U mercurial
like image 200
rajasoun Avatar answered Nov 15 '22 00:11

rajasoun


I just ran into the same problem, picked a new version (mercurial-2.2.3+20120707-py2.7-macosx10.7) from the Mercurial website and now it works again.

like image 31
tilo Avatar answered Nov 14 '22 23:11

tilo


I had a similar problem to this last night after upgrading to OX 10.9 Mavericks. I had tried brew install hg and brew update but they didn't work, as everyone's systems are different if you're running homebrew I would recommend running brew doctor to see what your particular issue is, in my case I had the following;

Warning: You have unlinked kegs in your Cellar

Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run brew link on these: mercurial

So to fix my mercurial issue I ran;

brew link --overwrite mercurial

like image 11
Gareth Jones Avatar answered Nov 14 '22 23:11

Gareth Jones


I had this same issue.

Reinstalling Mercurial fixed it. Get it from here: http://mercurial.berkwood.com/

like image 2
Al Nyveldt Avatar answered Nov 14 '22 23:11

Al Nyveldt