【发布时间】:2020-02-17 19:29:18
【问题描述】:
我最近在https://pypi.org/project/gsuitefy/ 上发布了一个包 我可以在本地安装包而没有错误,但是当我在函数的“requirements.txt”中添加包(gsuitefy)时出现错误:
Build failed: {"error": {"canonicalCode": "INVALID_ARGUMENT", "errorMessage": "`pip_download_wheels` had stderr output:\n Could not find a version that satisfies the requirement gsuitefy==1.0.3 (from -r requirements.txt (line 5)) (from versions: )\nNo matching distribution found for gsuitefy==1.0.3 (from -r requirements.txt (line 5))\n\nerror: `pip_download_wheels` returned code: 1", "errorType": "InternalError", "errorId": "84C90901"}}
【问题讨论】:
-
错误信息描述了您的问题。您正在指定一个不可安装的版本。编辑您的问题,显示您的代码和 requirements.txt。首先阅读:stackoverflow.com/help/minimal-reproducible-example
标签: python google-cloud-platform google-cloud-functions