Hi

I'm trying to get turbogears to run on my web hosting account. After
following the instructions for  fastcgi setup, I get the following
error when I try to run tg_fastcgi.fcgi (which I have renamed to
dispatch.fcgi.

[rum]$ ./dispatch.fcgi
Traceback (most recent call last):
  File "./dispatch.fcgi", line 23, in ?
    import cherrypy
ImportError: No module named cherrypy


Now my turbogears installation is in the following directory: /home/
zubinweb/tg/install

[rum]$ ls -l /home/zubinweb/tg/install/
total 772
drwxrwxr-x  4 zubinweb pg112663   4096 Jun 16 01:14 Cheetah-2.0rc8-
py2.4-linux-i686.egg
drwxrwxr-x  4 zubinweb pg112663   4096 Jun 16 01:14 CherryPy-2.2.1-
py2.4.egg
-rw-rw-r--  1 zubinweb pg112663  24848 Jun 16 01:13 DecoratorTools-1.4-
py2.4.egg
drwxrwxr-x  4 zubinweb pg112663   4096 Jun 16 01:13 FormEncode-0.7.1-
py2.4.egg
drwxrwxr-x  4 zubinweb pg112663   4096 Jun 16 01:14 Paste-1.3-
py2.4.egg
...

So why do I get the above error when I put this directory in my
sys.path?

import sys
sys.path.append("/home/zubinweb/tg/install")
import os
from os.path import *
import cherrypy
...

Thanks for any help.
PS: I am new to python and turbogears is my first project in this
language.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to