Search code examples
python-3.xaws-lambdachalice

chalice package: Could not install dependencies: graphqlclient==0.2.4


While running chalice package command I am getting this error:

$ chalice package --stage preview .chalice/deployments/preview
Creating deployment package.

Could not install dependencies:
graphqlclient==0.2.4
You will have to build these yourself and vendor them in
the chalice vendor folder.

Your deployment will continue but may not work correctly
if missing dependencies are not present. For more information:
http://chalice.readthedocs.io/en/latest/topics/packaging.html

I am using macbook pro. Other team mates are also using same machine but they are not getting this error. Please help!


Solution

  • Running command with sudo fixed the issue.