Python中的Google云函数在部署时出错

2024-05-26 22:55:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试配置Google云函数,以便在函数被触发时下单。 我在requirements.txt文件中提到了kiteconnect 但是这个功能没有被部署。引发错误“未知资源类型”。在

完整错误消息:

Deployment failure: Build failed: {"error": {"canonicalCode": "INVALID_ARGUMENT", "errorMessage": "`pip_download_wheels` had stderr output:\nCommand \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-wheel-97dghcl9/logging/\n\nerror: `pip_download_wheels` returned code: 1", "errorType": "InternalError", "errorId": "67DBDBF3"}}

有没有人有在云上交易零位的经验?在

以下是我尝试过的功能:

^{pr2}$

内容要求.txt文件:

^{3}$

Tags: pip文件函数功能txtdownload错误google
1条回答
网友
1楼 · 发布于 2024-05-26 22:55:09

此错误表示您的某个依赖项不可卸载。在

看起来kiteconnect依赖项目前与python3.7不兼容,python3.7是Python版本云函数在其运行时使用的:https://github.com/zerodhatech/pykiteconnect/issues/55

您需要等到维护人员发布与python3.7兼容的新版本。在

相关问题 更多 >

    热门问题