圣杯包:无法安装依赖项:graphqlclient==0.2.4
chalice package: Could not install dependencies: graphqlclient==0.2.4
虽然 运行 chalice package
命令我收到此错误:
$ 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
我正在使用 macbook pro。其他队友也在使用同一台机器,但他们没有收到此错误。请帮忙!
首先确保你已经安装了 pip:
pip3 install -r requirements.txt
下一步,如果你仍然有错误,你需要获取包的轮子并将它放在一个名为 'vendor' 的文件夹中,然后将它放在你的圣杯根目录中。
- .chalice
- chalicelib
- helloworld.py
- vendor
- graphqlclient-any.whl
- app.py
- requirements.txt
运行 使用 sudo 命令修复了问题。
虽然 运行 chalice package
命令我收到此错误:
$ 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
我正在使用 macbook pro。其他队友也在使用同一台机器,但他们没有收到此错误。请帮忙!
首先确保你已经安装了 pip:
pip3 install -r requirements.txt
下一步,如果你仍然有错误,你需要获取包的轮子并将它放在一个名为 'vendor' 的文件夹中,然后将它放在你的圣杯根目录中。
- .chalice
- chalicelib
- helloworld.py
- vendor
- graphqlclient-any.whl
- app.py
- requirements.txt
运行 使用 sudo 命令修复了问题。