Sunday, September 6, 2009

Abort: couldn't find mercurial libraries

I've been setting up my fresh Snow Leopard installation today.

I followed the guide from Hivelogic: Compiling Mercurial on Snow Leopard. The installation completed without issue and 'which hg' showed everything was in place.

However, when I tried to issue an 'hg' command the following error popped up:

"abort: couldn't find mercurial libraries"

Google came to the rescue, and revealed these tweets:


For Snow Leopard, I just needed:

export PYTHONPATH=/usr/local/lib/python2.6/site-packages

If you hit the same, hope this works for you.