首页 文章

azure web app服务(PYTHON)因azure-iothub-device-client的pip失败而失败

提问于
浏览
0

azure-iothub-device-client == 1.3.2的pip安装要求失败

我尝试将myPython Web应用程序git转换为AZURE WEB APP . 我的网络应用程序在本地运行完美 . 当我将代码推送到azure Web应用程序时,它会在执行pip安装要求时抛出错误

PS C:\ Users \ hackuser1 \ Desktop \ Madhu \ tryPythonWeb \ python-docs-hello-world> git push azure master计数对象:3,完成 . 压缩对象:100%(3/3),完成 . 写入对象:100%(3/3),324字节| 108.00 KiB / s,完成 . 总计3(增量1),重用0(增量0)远程:更新分支'主' . remote:更新子模块 . remote:准备提交标识'4bce78d374'的部署 . remote:生成部署脚本 . remote:运行部署命令... remote:处理python部署 . remote:KuduSync.NET从:'D:\ home \ site \ repository'到:'D:\ home \ site \ wwwroot'remote:复制文件:'requirements.txt'remote:检测到的requirements.txt . 您可以使用.skipPythonDeployment文件跳过Python特定步骤 . remote:从站点配置远程检测Python运行时:检测到python-2.7 remote:找到兼容的虚拟环境 . remote:Pip安装要求 . remote:下载/解压缩azure-iothub-device-client == 1.3.2(来自-r requirements.txt(第1行))remote:无法找到满足要求的任何下载azure-iothub-device-client == 1.3 .2(from -r requirements.txt(第1行))remote:清理...远程:找不到azure-iothub-device-client == 1.3.2的所有发行版(来自-r requirements.txt(行) 1))remote:在D:\ home \ pip \ pip.log remote中存储失败的调试日志:网站部署期间发生错误 . remote:remote:错误 - 提交到远程存储库的更改但部署到网站失败 .

下面是需求文件中的数据

azure-iothub-device-client == 1.3.2 azure-iothub-service-client == 1.3.2 Flask == 1.0.2 Flask-Sijax == 0.4.1

1 回答

相关问题