You just install them both, as your instructions say.

If you want to start wen2py in python2, just execute it with python:
python web2py.py

If you want to start web2py in Python 3, execute it with python3:
python3 web2py.py

This is how I do it in Linux, but I'm almost sure MacOS does it the same 
way.
Windows is not as straightforward, but it can be done if you add these 
scripts to your PATH variable:

PYTHON.CMD
C:\Python\Python27-32\Python.exe %*

PYTHON3.CMD
C:\Python\Python36-32\Python.exe %*

According to your installation, you might have to adjust where the Python 
.EXEs are located.


On Monday, May 7, 2018 at 7:11:37 PM UTC-5, 黄祥 wrote:
>
> plan to test web2py both python2 and python3 in 1 machine, any idea how to 
> do that in the safety way?
> already googling found this:
>
> brew update
> brew install python
> brew install python3
>
> any thought or comment?
>
> thx and best regards,
> stifan
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to