On Sunday, April 7, 2019 at 10:17:33 PM UTC-7, Alex Glaros wrote:
>
> I installed source version of web2py windows and that worked. I guess 
> windows binary doesn't have a path to python.exe
>

web2py.exe (note the extension) uses a Python dll.  The zip file also 
include py.exe, a light wrapper on the dll.  I think that the module search 
path(s) the dll supports are mostly within the web2py directory structure, 
and that is roughly like using a virtual environment, so arbitrary python 
packages probably won't be found.  I suspect pip isn't supported, and I 
have no idea how to install from a wheel (other than the crude technique of 
using a full python installation to handle it, and then copying the 
unrolled files into the web2py folders (probably as a module in an 
appliction)).

That's why my personal picture sorting app uses subprocess.call() to run a 
w32 program, rather than Python pillows.

/dps
 

-- 
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