On Tue, May 14, 2013 at 1:22 AM, HittingSmoke <hittingsm...@gmail.com> wrote:
> I thought this would be simple but I can't seem to find the answer. I run
> web2py on Webfaction via uWSGI and a shared Nginx instance. Web2py runs on
> the default 2.6.6 python install which I have no control over. I would like
> it to run on python 2.7 where I install my modules. I'm having issues
> running a gevent server because web2py can't see the gevent module while
> running on the default 2.6 python version.

You can create a virtualenv for python2.6 then within that virtualenv
pip install gevent.

Than if you don't want to run the server with virtualenv activated you
can move/copy/link
<myvirtualenv>/lib/python2.6/site-packages/[greenlet.so gevent/] to
web2py_folder/site-packages

Ricardo

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to