I do not understand it. I installed python 2.4.2 from Darwinports on OS
X 10.4.3 and it is the default python and is located at /usr/bin/python
like i should be, but I keep getting these errors when I try to run
tg-admin or similar for any TG file:
+++++++++++++++++++++++++++++++++
Desktop:/usr/local/bin root# tg-admin
Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 5, in ?
from pkg_resources import load_entry_point
File
"/Library/Python/2.3/site-packages/setuptools-0.6a8-py2.3.egg/pkg_resources.py",
line 2192, in ?
working_set.require(__requires__)
File
"/Library/Python/2.3/site-packages/setuptools-0.6a8-py2.3.egg/pkg_resources.py",
line 503, in require
needed = self.resolve(parse_requirements(requirements))
File
"/Library/Python/2.3/site-packages/setuptools-0.6a8-py2.3.egg/pkg_resources.py",
line 483, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: elementtree>=1.2.6
++++++++++++++++++++++++++++++++++++++
When I run whereis python I get:
+++++++++++++++++++
Desktop:/usr/local/bin root# whereis python
/usr/bin/python
+++++++++++++++++++
and when you run python to get the interactive shell, it reports as
python 2.4.2
Why am I getting all this trouble?
I did update it AFTER I installed TG, but I tried this earlier today
before the TG install and I half installed system from ez_setup.