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 more about virtual environments here: http://docs.python-guide.org/en/latest/dev/virtualenvs/
Exited with code 1
I am installing venv using the below commands.
pip install virtualenv
virtualenv venv
source venv/bin/activate
Is there something that I am missing. Could someone help me.