web2py runs on python 2 and python 3 but most of the apps are written for 
python 2. your existing apps will have to be modified. web2py does not care.

On Wednesday, 22 May 2019 14:43:38 UTC-7, lucas wrote:
>
> hello one and all,
>
> yes, I have web2py 2.17.2 running on a raspberry pi model 3 b+, raspbian 
> is its OS, as a server for my students to mess up.  on this "server", under 
> nginx 1.10.3, web2py is currently using python 2.7.13.  but raspbian has 
> both python 2 (2.17.13) and 3, specifically 3.5.3.  I read that the 
> executable for web2py is python version specific, but I want to make sure I 
> reading and understanding properly.
>
> anyway, can I switch web2py to run python 3 as its core instead of the 
> python 2, since raspbian has both python versions already running on it? 
>  and specifically, what would it take to get web2py to use the python 3 
> that is already native on raspbian?
>
> the reason is because the adafruit ads1115 analog-to-digital library only 
> runs on python 3 and I'd like web2py to access the board directly.
>
> thank you in advance and have a good day.  Lucas
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/f6ba75ae-32ca-42bd-b175-95f91a30956a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to