Hi, Welcome, and I'm sorry about the trouble!
Eggs provide a powerful packaging format for Python modules and programs, and TurboGears makes extensive use of them. However, we're a little ahead of the curve on them. Generally, they've been working great, but this week we hit an unexpected problem (which is what you've run into). Fortunately, there's an easy way out! Download the ez_setup.py that's currently on TurboGears.org: http://www.turbogears.org/download/ez_setup.py Then run, python ez_setup.py setuptools==0.6a8 You'll need to use the same kind of options you used when you installed TurboGears. Specifically, you may need something like: sudo python ez_setup.py --script-dir /usr/local/bin setuptools==0.6a8 Backtracking the earlier setuptools should fix this problem for you. I'm going to work on getting us to the latest setuptools early in the week. Good luck, and let us know if you run into other trouble! Kevin On 1/1/06, markc <[EMAIL PROTECTED]> wrote: > > I totally new to TG and python (eggs!?) and had trouble following the > startup doc and the wiki tutorial. I've tried 0.8a6 (and 0.8a5) and > now this below from svn and always with this same error when I get to > this part of the wiki howto. Surfing to :8080 works. Would anyone how a > suggestion as to what I may be doing wrong ? > > # tg-admin sql create > Using database URI sqlite:///home/w/com/motd/Wiki-2-0/wiki.sqlite > Traceback (most recent call last): > File "/usr/bin/tg-admin", line 7, in ? > sys.exit( > File > "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r438-py2.4.egg/turbogears/command/base.py", > line 241, in main > command.run() > File > "/usr/lib/python2.4/site-packages/TurboGears-0.9a0dev_r438-py2.4.egg/turbogears/command/base.py", > line 101, in run > command.the_runner.run(sys.argv) > File > "/usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py", > line 102, in run > runner.run() > File > "/usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py", > line 232, in run > self.load_options_from_egg(egg_spec) > File > "/usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py", > line 415, in load_options_from_egg > dist, conf = self.config_from_egg(egg_spec) > File > "/usr/lib/python2.4/site-packages/SQLObject-0.7.0-py2.4.egg/sqlobject/manager/command.py", > line 425, in config_from_egg > pkg_resources.require(egg_spec) > File > "/usr/lib/python2.4/site-packages/setuptools-0.6a9dev_r41815-py2.4.egg/pkg_resources.py", > line 503, in require > needed = self.resolve(parse_requirements(requirements)) > File > "/usr/lib/python2.4/site-packages/setuptools-0.6a9dev_r41815-py2.4.egg/pkg_resources.py", > line 483, in resolve > raise DistributionNotFound(req) # XXX put more info here > pkg_resources.DistributionNotFound: Wiki-2-0 > > # query Wiki-2-0 > ./Wiki-2-0.egg-info/PKG-INFO:Name: Wiki-2-0 > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/PKG-INFO > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/SOURCES.txt > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/not-zip-safe > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/paster_plugins.txt > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/requires.txt > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/sqlobject.txt > ./Wiki-2-0.egg-info/SOURCES.txt:Wiki-2-0.egg-info/top_level.txt > ./dev.cfg:sqlobject.dburi="sqlite:///home/w/com/motd/Wiki-2-0/wiki.sqlite" > ./setup.py: name="Wiki-2-0", > Binary file ./setup.pyc matches > > --markc > > -- Kevin Dangoor Author of the Zesty News RSS newsreader email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com

