Cloud Functions部署失败:requirements.txt依赖包找不到匹配版本
问题原因与解决方法
- 错误根源:
requirements.txt里的Google Cloud Storage包名拼写有误,写成了google-cloud-storeage,正确的包名是google-cloud-storage(注意是storage而非storeage)。 - 修正步骤:将
requirements.txt中的错误包名替换为正确名称,修正后的内容如下:
pandas>=1.5.0 google-cloud-storage>=1.36.0
重新部署Cloud Functions即可解决该依赖安装错误。
内容的提问来源于stack exchange,提问作者mblume
相关产品推荐
相关产品推荐

