solved. I need to activate my env first ! Em qui., 12 de nov. de 2020 às 12:16, António Ramos <ramstei...@gmail.com> escreveu:
> hello i´m using python3 in opastack and got some problems with import > I installed zeep and web2py is looking in the wrong place for it. > Any help ? > > > <class 'ImportError'> No module named applications.fileit.modules.zeep > Versão > web2py™ Version 2.20.4-stable+timestamp.2020.05.03.05.18.50 > Python Python 3.6.8: /home/ramos/apps/fileit/env/bin/uwsgi (prefix: > /home/ramos/apps/fileit/env)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > 17. > 18. > 19. > 20. > 21. > 22. > 23. > > Traceback (most recent call last): > File "/home/ramos/apps/fileit/web2py/gluon/custom_import.py", line 78, in > custom_importer > result = sys.modules[modules_prefix] > KeyError: 'applications.fileit.modules.zeep' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File "/home/ramos/apps/fileit/web2py/gluon/restricted.py", line 219, in > restricted > exec(ccode, environment) > File > "/home/ramos/apps/fileit/web2py/applications/fileit/controllers/erp_clients.py" > <https://portal.cires.pt/admin/edit/fileit/controllers/erp_clients.py>, line > 236, in <module> > File "/home/ramos/apps/fileit/web2py/gluon/globals.py", line 430, in > <lambda> > self._caller = lambda f: f() > File "/home/ramos/apps/fileit/web2py/gluon/tools.py", line 3867, in f > return action(*a, **b) > File > "/home/ramos/apps/fileit/web2py/applications/fileit/controllers/erp_clients.py" > <https://portal.cires.pt/admin/edit/fileit/controllers/erp_clients.py>, line > 191, in ClientDetail > CYGSA=getcygsainfo(cliente) > File > "/home/ramos/apps/fileit/web2py/applications/fileit/controllers/erp_clients.py" > <https://portal.cires.pt/admin/edit/fileit/controllers/erp_clients.py>, line > 134, in getcygsainfo > import zeep > File "/home/ramos/apps/fileit/web2py/gluon/custom_import.py", line 80, in > custom_importer > raise ImportError("No module named %s" % modules_prefix) > ImportError: No module named applications.fileit.modules.zeep > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAEM0BxM0ef%2BqbVUYADkrwwDb3LKjqBKRaua_xQ%3D%2B7g_nsjQmvw%40mail.gmail.com.