I am running TG on Debian. I had a wee bit of trouble originally with the ez_setup.
The one comment I would make is that if it doesn't work exactly as indicated on the download page then try reinstalling.Delete all the related files (especially if doing it on a different day ... the builds change fairly often), and do it again.
For whatever its worth it will run on debian unstable without particular modification.
Good luck.
Paul
On 11/10/05, Martin Skøtt <[EMAIL PROTECTED]> wrote:
I have tried following this[1] guide to install TurboGears on Debian
unstable, but it doesn't work. I get this error when running tg-admin quickstart:
tg-admin quickstart Traceback (most recent call last):
File "/usr/local/bin/tg-admin", line 5, in ?
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
I have tried searching the archives, but I havn't been able to get it
to work. I have tried both with the ez_setup.py from turbogears.org[2]
and the one from PEAK[3].
The eggs are installed in /usr/local/lib/python2.4/site-packages which
is in the PYTHONPATH for python2.4:
$ python2.4
Python 2.4.2 (#2, Sep 29 2005, 00:23:59)
[GCC 4.0.2 (Debian 4.0.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
'/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk',
'/usr/lib/python2.4/lib-dynload',
'/usr/local/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages', '/usr/lib/site-python']
Any hints on what I might be missing ? I have spent a couple of hours
on this with no luck :(
[1] http://trac.turbogears.org/turbogears/wiki/SystemInstall
[2] http://turbogears.org/download/ez_setup.py
[3] http://peak.telecommunity.com/dist/ez_setup.py
--
Regards
Martin Skøtt

