web2py.exe doesn't import libraries installed on the system. the whole idea of a binary is to make it run on system that have NO python whatsoever. If your app needs the requests library, you should either ship it in /application/modules or in /site-packages (one of the folders of the web2py directory where web2py.exe is)
On Saturday, November 1, 2014 1:17:34 AM UTC+1, skd wrote: > > skd <sdumosch@...> writes: > > > > > > If I type import requests at a python shell i get no errors > > If I type import requests at a python shell launched via command > window > > launched without admin rights I do indeed get errors > > > > > More info on attempting to type import requests at a python shell: > - when the command prompt directory is not in the web2py directory and i > launch the python shell, i get no errors when typing 'import requests' > - when i cd to the web2py dir, then launch python, i get errors when > typing 'import requests' > > somehow the web2py folder is not allowing python to see into it's > Lib/site-packages folder where 'requests' is installed. > > > > > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

