You are writing a comment about When psycopg2 Can't Import tz, here is a quick summary:
This is a very short post, placed as a warning sign to the poor souls who encounter this problem and are confused by it. Mainly myself, since I have solved it at least twice without remembering what the problem was.
You are responding to this comment written by Graham Dumpleton on February 14th 2009, 05:07.
If using mod_wsgi and embedded mode, you can also use WSGIPythonEggs directive. See:
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPythonEggs
If using mod_wsgi and daemon mode, you can also use 'python-eggs' option to WSGIDaemonProcess directive. See:
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
If using daemon mode, if you set the 'user' option to the name of a real account with writable home directory for that user, then it should also work without any configuration needed. This is because in daemon mode mod_wsgi ensures $HOME is set correctly and so Python egg cache location is calculated correctly.
For more information about the whole problem, see:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Access_Rights_Of_Apache_User http://code.google.com/p/modwsgi/wiki/ApplicationIssues#User_HOME_Environment_Variable
Please be aware that comment forms go stale after one hour.
Comments may make use of LifeFlow MarkDown. Raw html will be escaped.
Quick Introduction to LifeFlow MarkDown Syntax
A highlighted code block:
Other common languages work as well: scheme, python, java, html, etc.
Other markdown syntax: