Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/55a2e822827a92f468c018ece747a774 to your computer and use it in GitHub Desktop.
Save velotiotech/55a2e822827a92f468c018ece747a774 to your computer and use it in GitHub Desktop.
Calling deploy for stage dev..
Downloading and installing dependencies..
Oh no! An error occurred! :(
==============
Traceback (most recent call last):
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/cli.py", line 2610, in handle
sys.exit(cli.handle())
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/cli.py", line 505, in handle
self.dispatch_command(self.command, stage)
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/cli.py", line 539, in dispatch_command
self.deploy(self.vargs['zip'])
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/cli.py", line 709, in deploy
self.create_package()
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/cli.py", line 2171, in create_package
disable_progress=self.disable_progress
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/core.py", line 595, in create_lambda_zip
installed_packages = self.get_installed_packages(site_packages, site_packages_64)
File "/home/velotio/Envs/django_zappa_sample/local/lib/python2.7/site-packages/zappa/core.py", line 751, in get_installed_packages
pip.get_installed_distributions()
AttributeError: 'module' object has no attribute 'get_installed_distributions'
==============
Need help? Found a bug? Let us know! :D
File bug reports on GitHub here: https://github.com/Miserlou/Zappa
And join our Slack channel here: https://slack.zappa.io
Love!,
~ Team Zappa!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment