Hi, I'm writing a bare bones Python wsgi application and am getting stumped by module import errors. I have a .py file in the current directory which initially failed to import. By adding
sys.path.insert(0, '/Users/guhar/Sites/acom')
the import of the module worked. But I now try and import a module that I had installed via easy_install and it fails to import. I tried setting
sys.path.insert(0, '/Library/Python/2.5/site-packages/')
which contains the egg file, but to no avail. I would've thought that all packages under "/Library/Python/2.5/site-packages/" would be available to a WSGI application.
Does anybody have any pointers?