D
dpholmes
hi everyone, i'm very new to python and to this forum. i'm actually
just trying to work through the tutorial on webpy.org. so far, so
good, but as i tried to incorporate a postgresql database into the
demo web app i'm receiving this error print out:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py",
line 624, in communicate
req.respond()
File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py",
line 357, in respond
response = self.wsgi_app(self.environ, self.start_response)
File "/usr/lib/python2.5/site-packages/web/httpserver.py", line 200,
in __call__
return self.app(environ, xstart_response)
File "/usr/lib/python2.5/site-packages/web/http.py", line 255, in
__call__
return self.func(e, o)
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 302, in
wsgifunc
_load(env)
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 258, in
_load
load()
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 253, in
load
db.connect(**config.db_parameters)
File "/usr/lib/python2.5/site-packages/web/db.py", line 265, in
connect
import pgdb as db
ImportError: No module named pgdb
any thoughts would be greatly appreciated.
thanks,
doug
just trying to work through the tutorial on webpy.org. so far, so
good, but as i tried to incorporate a postgresql database into the
demo web app i'm receiving this error print out:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py",
line 624, in communicate
req.respond()
File "/usr/lib/python2.5/site-packages/web/wsgiserver/__init__.py",
line 357, in respond
response = self.wsgi_app(self.environ, self.start_response)
File "/usr/lib/python2.5/site-packages/web/httpserver.py", line 200,
in __call__
return self.app(environ, xstart_response)
File "/usr/lib/python2.5/site-packages/web/http.py", line 255, in
__call__
return self.func(e, o)
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 302, in
wsgifunc
_load(env)
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 258, in
_load
load()
File "/usr/lib/python2.5/site-packages/web/webapi.py", line 253, in
load
db.connect(**config.db_parameters)
File "/usr/lib/python2.5/site-packages/web/db.py", line 265, in
connect
import pgdb as db
ImportError: No module named pgdb
any thoughts would be greatly appreciated.
thanks,
doug