运行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。其他团队成员也在使用相同的机器,但他们没有得到这个错误。请帮帮我!
发布于 2020-01-30 16:29:53
将命令与sudo一起运行已修复此问题。
发布于 2020-01-29 04:31:32
首先,确保您的pip安装了所有内容:
pip3 install -r requirements.txt下一步,如果你仍然有错误,你需要得到这个包的轮子,把它放在一个名为“vendor”的文件夹中,并把它放在你的chalice根目录中。
- .chalice
- chalicelib
- helloworld.py
- vendor
- graphqlclient-any.whl
- app.py
- requirements.txthttps://stackoverflow.com/questions/59627240
复制相似问题