zappa

Why is Zappa deploy missing all / most packages present in virtual environment?

Why is Zappa deploy missing all / most packages present in virtual environment? Question: Trying to deploy a python script to AWS via Zappa. Script works in local virtual environment (using virtualenv) but Zappa deploy fails with multiple missing packages. Must be missing something pretty fundamental despite extensive troubleshooting. Details below, any ideas appreciated. Error: …

Total answers: 1

Zappa Update failing in CircleCI

Zappa Update failing in CircleCI Question: I am trying to deploy my Python project to AWS Lambda using Zappa and circleci. its throwing error Error: Zappa requires an active virtual environment! #!/bin/bash -eo pipefail zappa update dev (PyYAML 3.13 (/usr/local/lib/python3.6/site-packages), Requirement.parse(‘PyYAML>=4.1’), {‘cfn-flip’}) Calling update for stage dev.. Error: Zappa requires an active virtual environment! Learn …

Total answers: 2

django-zappa: Error loading psycopg2 module: libpq.so.5: cannot open shared object file: No such file or directory

django-zappa: Error loading psycopg2 module: libpq.so.5: cannot open shared object file: No such file or directory Question: When trying to deploy a Django project using django-zappa, I get the following error in the zappa tail output: django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: libpq.so.5: cannot open shared object file: No such file or directory I’ve made sure …

Total answers: 2