> On 11 May 2016, at 6:04 PM, Jaqen Nki <[email protected]> wrote:
> 
> For sure, the only reason I did that is because pyvenv and venv were broken 
> on ubuntu 14, and without sudo  and --without-pip the command would fail.  
> What Im going to do is create another VM image running ubuntu 16, which has 
> improved python3 support, and test my website and pyvenv on there.  And I 
> will get back to you, probably tomorrow.  
> 
> If pyvenv works I wonder if its possible to install from source mod wsgi 
> directly into the venv python interpreter, avoiding system python conflicts 
> altogether.
> 
> ./configure        #( --with-apxs=/usr/local/apache/bin/apxs \
>                   #    --with-python=python3  specify py3)

You can try the pip installable mod_wsgi version:

    pip install mod_wsgi

Details at:

   https://pypi.python.org/pypi/mod_wsgi <https://pypi.python.org/pypi/mod_wsgi>

That will give you mod_wsgi-express which you can use from the command line to 
start up a Apache/mod_wsgi instance on a non privileged port as a non root user.

For trying things out this is the easiest way to get going.

If need be you can then use mod_wsgi-express to either install the Apache 
module into your Apache installation, or it can tell you what LoadModule line 
to use to load it direct from the Python virtual environment.

Suggest you perhaps try mod_wsgi-express on the command line first as it 
worries about all the configuration for you.

Graham



-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to