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

Joshua Herman zitterbewegung at gmail.com
Fri Jul 31 06:10:05 CEST 2015


Dear Lucas,
I think this manual may help. IRRC when I taught virtualenv to people at
the PyLadies meetup modwsgi is a dependency of virtualenv so thats why what
you are doing is tricky.
I think virtualenv installs pip so i think you may have to manually specify
the site packages.
https://code.google.com/p/modwsgi/wiki/VirtualEnvironments
Sincerely,
Joshua Herman

On Thu, Jul 30, 2015 at 11:03 PM, Lukasz Szybalski <szybalski at gmail.com>
wrote:

>
>
> 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
>> >
>>
>
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> https://mail.python.org/mailman/listinfo/chicago
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20150730/7a2f47d0/attachment.html>


More information about the Chicago mailing list