ImportError when importing the 'json' standard Python module
Created originally on Bitbucket by Anonymous
When trying to 'import json' from within a 'python:' hg hook, I get an "ImportError: No module named json" error. This is despite 'json' being a standard Python library since version 2.6.