cpmishra wrote: > Hi all > I have used DBUtil in mysql databse. when we run to program in > dos command ,successfully run but when we run in apache server > (locally)with modepython then given error.Pls give me suggation > > error: > No module named DBUtils.PooledDB > It seems likely that the web environment doesn't include the directory containing the DBUtils (DBUtil?) in the PYTHONPATH variable.
Try running this script as a CGI: print "Content-Type: text/plain\n" import os for val in os.environ.items(): print "%s=%s" % val and see what PYTHONPATH looks like. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --------------- Asciimercial ------------------ Get on the web: Blog, lens and tag the Internet Many services currently offer free registration ----------- Thank You for Reading ------------- -- http://mail.python.org/mailman/listinfo/python-list