On Jul 19, 7:24 am, "Álvaro J. Iradier" <[EMAIL PROTECTED]> wrote:
> Maybe this can be related:
>
> https://devel.airadier.com/default/blog/modpythonvirtualenvironments
>
> I found the same problem, modules being imported from the command line
> interpreter, but not frommod_python, and managed to workaround it as
> explained above.

FWIW, if using mod_wsgi such hacks aren't required as it
understand .pth files and virtual environments. See:

  http://code.google.com/p/modwsgi/wiki/VirtualEnvironments

Graham


> On Wed, Jul 16, 2008 at 12:20 AM, Frantisek Malina <[EMAIL PROTECTED]> wrote:
>
> > Awesome Daniel. That was the one.
>
> > I've got the development server running on the deployment machine.
> > However, there is another PATH problem with Apache /mod_python
> > complaining about missing modules, even if those are on the spot:
>
> > ImproperlyConfigured: Error importing middleware
> > satchmo.shop.SSLMiddleware: "No module named
> > satchmo.shop.SSLMiddleware"
>
> >mod_pythontraceback:
> >http://dpaste.com/65217/
>
> > vhost.conf:
> >http://dpaste.com/65219/
>
> > Folder "httpdocs" contains a symlink "satchmo" to "/usr/lib/python2.5/
> > site-packages/satchmo"
>
> > What could be wrong here?
>
> --
> (:===========================================:)
>  Alvaro J. Iradier Muro - [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to