Hi! I'm stuck importing packages within site-packages (the web2py one). I'm trying to import the Request library:
<https://lh3.googleusercontent.com/-bpxPLoNuSI4/Wr0LyHehBvI/AAAAAAAAJNI/zU-6SjpYCkUx_2gfuzcGMg6ovKRcI-6ygCLcBGAs/s1600/Selecci%25C3%25B3n_001.jpg> Ticket ID 127.0.0.1.2018-03-29.10-43-13.c356e4d3-44b6-4b74-a896-d0da7de9d0b1 <type 'exceptions.ImportError'> (ImportError("Cannot import module 'applications.myapp.modules.requests'",), <traceback object at 0x7f3830416440>)Versión web2py™ Version 2.16.1-stable+timestamp.2017.11.13.23.50.07 Python Python 2.7.12: /home/alighathor/Documentos/python-virtual-envs/web2py/bin/python2.7 (prefix: /home/alighathor/Documentos/python-virtual-envs/web2py)Rastreo 1. 2. 3. 4. 5. 6. 7. 8. 9. Traceback (most recent call last): File "/home/alighathor/Documentos/Desarrollo/web2py/web2py/gluon/restricted.py", line 219, in restricted exec(ccode, environment) File "/home/alighathor/Documentos/Desarrollo/web2py/web2py/applications/myapp/controllers/default.py" <http://localhost:8000/admin/default/edit/lista_negra/controllers/default.py>, line 7, in <module> import requests File "/home/alighathor/Documentos/Desarrollo/web2py/web2py/gluon/custom_import.py", line 104, in custom_importer raise ImportError(e1, import_tb) # there an import error in the module ImportError: (ImportError("Cannot import module 'applications.myapp.modules.requests'",), <traceback object at 0x7f3830416440>) I don't get why is telling me is trying to import from *applications.myapp.modules.requests*, when the package is not even there. Thanks! -- 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.