Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-30 Thread Tom Clerckx
I also confirm I get the web2py shell working after installing some extra pip package... Actually, I only had to add *urllib3_secure_extra* to get requests working in the web2py shell. Checking the python site-packages, I see the following in the urllib3 package __init__.py: # === NOTE TO

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-30 Thread Massimiliano
Just tried and it works flawless! :-) Il giorno mar 30 mag 2023 alle ore 15:44 Leonel Câmara < leonelcam...@gmail.com> ha scritto: > I had this same problem recently, in my case I thought the issue was > because I had some python modules installed using pip and other modules > installed using

Re: [web2py] Why am I getting "unable to import requests" in web2py even though requests is accessible directly through python

2023-05-30 Thread Leonel Câmara
I had this same problem recently, in my case I thought the issue was because I had some python modules installed using pip and other modules installed using apt. I started by removing all the modules installed by apt and installing them using pip. The issue persisted, but I solved it by pip