Mountain Lion update and mercurial libraries python

EsseTi picture EsseTi · Aug 3, 2012 · Viewed 9.2k times · Source

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?

Answer

rajasoun picture rajasoun · Oct 8, 2012

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

easy_install -U mercurial