I think you need either addsitedir or the python-path option. It sounds like python-path is better because it will add your local stuff to the front of the path, instead of the end.
http://code.google.com/p/modwsgi/wiki/VirtualEnvironments#Process_Environments On Fri, Jun 4, 2010 at 12:09 PM, dhmorgan <[email protected]> wrote: > > perhaps you are running python in a virtualenv? if so, make sure to > have 'addsitedir' in your .wsgi file > from site import addsitedir > addsitedir('/<path to virtualenv>/lib/python2.X/site-packages') > > make sure in your httpd.conf file, the WSGIDaemonProcess directive's > 'python-path' is set to the same location > > make sure your database path is the full path name > > Danny > > > > On Jun 3, 6:14 pm, bigshut <[email protected]> wrote: >> I successfully installed satchmo. When i run python manage.py >> runserver i can access to the app. >> python manage.py satchmo_check give me no errors. >> So i tried to configure apache with mod_python (and then mod_wsgi) >> following the instructions on django >> site:http://docs.djangoproject.com/en/dev/howto/deployment/. >> >> I got the same error with mod_python and with mod_wsgi: >> ImproperlyConfigured: Error importing middleware >> threaded_multihost.middleware: "No module named >> threaded_multihost.middleware" >> >> I'm using sqite as database. i ran syncdb. >> >> Please Help! > > -- > You received this message because you are subscribed to the Google Groups > "Satchmo users" 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/satchmo-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Satchmo users" 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/satchmo-users?hl=en.
