简体   繁体   中英

No module named ho.pisa - when i run it with wsgi

I'am trying to generate PDF from HTML whith Pisa, Reportlab, etc.. and get: "No module named ho.pisa" - when i run it with wsgi, but on runserver it works fine. Somebody have some versions?

Ok, problem solved! I forgot that i'm using uwsgi without venv and just need to delete 'home /path/to/my/env' string from my_uwsgi_configuration_file.ini

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM