Am 05.02.2012 16:48, schrieb Chris Lambacher:
Your package probably is not in the import path when you are running from outside the source directory. You would need to use one of the ways of adding it to the path. PYTHONPATH env variable is probably the easiest way that does not interfere with other installed things. If you are using completely separate virtualenv's for each project you could also do python setup.py develop
You might get away with os.chdir() in your WSGI script, but python setup.py develop/install is the proper solution.
See also http://www.turbogears.org/1.5/docs/Deploy/NginxWsgi.html#using-a-virtual-environment -- Christoph -- 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.

