[Chicago] libapache2-mod-wsgi-py3 vs libapache2-mod-wsgi

Lukasz Szybalski szybalski at gmail.com
Fri Jul 31 06:03:20 CEST 2015


On Thu, Jul 30, 2015 at 10:54 PM, Joshua Herman <zitterbewegung at gmail.com>
wrote:

> If you want to do this you should probably use virtualenv correct?
>

Correct, I am using virtualenv to store my packages. which is one of the
directive for setting up the WSGIprocess.. that you pass python-path

When running the project I get error in apache error log that:

 from urllib.parse import urlparse
[Thu Jul 30 22:33:23.928511 2015] [wsgi:error] [pid 55740] [remote
xxxxxx:512] ImportError: No module named parse

after googleing some info...it seems as somehow modwsgi loads python2...
this lead me to conclusion that you need modwsgi py3 installed on debian
machine...

the questions is: can you have both mod-wsgi and mod-wsgi-py3?

Thanks
Lucas

> On Jul 30, 2015, at 10:53 PM, Lukasz Szybalski <szybalski at gmail.com>
> wrote:
> >
> > Hello,
> > Just for a confirmation. Is it possible to have both
> > libapache2-mod-wsgi-py3
> > and
> > libapache2-mod-wsgi
> >
> > I have projects like trac,and few others on python2,
> > I'm installing newly converted pyramid on python3.
> > I wanted to to add to my apache setup, but it seems like I need
> libapache2-mod-wsgi-py3? If I proceed does it mean all other projects stop
> working?
> >
> > Thanks
> > Lucas
> >
> >
> > aptitude install libapache2-mod-wsgi-py3
> > The following NEW packages will be installed:
> >   libapache2-mod-wsgi-py3{b}
> > 0 packages upgraded, 1 newly installed, 0 to remove and 30 not upgraded.
> > Need to get 83.6 kB of archives. After unpacking 292 kB will be used.
> > The following packages have unmet dependencies:
> >  libapache2-mod-wsgi-py3 : Conflicts: libapache2-mod-wsgi but 4.3.0-1 is
> installed.
> > The following actions will resolve these dependencies:
> >
> >      Remove the following packages:
> > 1)     libapache2-mod-wsgi
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150730/00a0c2d1/attachment.html>


More information about the Chicago mailing list