I don't have that much experience with postgres, but from the error it looks like you haven't installed the python/postgres libraries.
Sean mplpgp wrote: > Hi, > > I tried your TurboTunes and Wiki20, but I got a following error message > after "tg-admin sql create": > ================================================================================ > Using database URI postgres://[EMAIL PROTECTED]/turboGears > Traceback (most recent call last): > File "/usr/local/bin/tg-admin", line 7, in ? > sys.exit( > File > "/usr/local/lib/python2.4/site-packages/TurboGears-0.8.8-py2.4.egg/turbogears/command/__init__.py", > line 186, in main > command.run() > File > "/usr/local/lib/python2.4/site-packages/TurboGears-0.8.8-py2.4.egg/turbogears/command/__init__.py", > line 106, in run > command.the_runner.run(sys.argv) > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py", > line 102, in run > runner.run() > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py", > line 233, in run > self.command() > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py", > line 542, in command > for soClass in self.classes(require_some=True): > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py", > line 255, in classes > conn = self.connection() > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/manager/command.py", > line 316, in connection > return sqlobject.connectionForURI(self.options.connection_uri) > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/dbconnection.py", > line 921, in connectionForURI > conn = self.schemeBuilders[scheme]().connectionFromURI(uri) > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/postgres/pgconnection.py", > line 93, in connectionFromURI > return cls(host=host, port=port, db=path, user=user, > passwd=password, **args) > File > "/usr/local/lib/python2.4/site-packages/SQLObject-0.7.1dev_r1457-py2.4.egg/sqlobject/postgres/pgconnection.py", > line 29, in __init__ > import psycopg > ImportError: No module named psycopg > ================================================================================ > > My system info: > I installed every package of redhat enterprise. And then I installed > python 2.4 and Turbogears by following "1. Download the ez_setup.py > script. 2. Run sudo python ez_setup.py -f > http://www.turbogears.org/download/index.html --script-dir > /usr/local/bin TurboGears " step. > > Situation: > I basically followed your text and video instructions. I could see the > webpage on local8080 after python *-start.py. But both for TurboTune > and Wiki20, I failed at "tg-admin sql create" with above message. Can > you tell me what might went wrong or how I can fix this error? Thanks a > lot in advance. > > Hyunsuk,

