I have python 2.7.2 installed on my Mac. I installed using python-2.7.2-macosx10.6.dmg I have only one instance of python.
When i type in the terminal to find the python path , I get this :
python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import os.path
>>> os.environ['PYTHONPATH'].split(os.pathsep)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
raise KeyError(key)
KeyError: 'PYTHONPATH'
It is the one thing missing so I can install Mercurial. I was using Mercurial before and I may have broken something. Do you know how to fix this problem ?