错误:无法打开要求文件:[Errno 2]没有此类文件或目录:'要求.txt'在Azure Devops build中

2024-09-26 18:14:55 发布

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

我对Python和azuredevops很陌生。当我创建一个地狱世界.py在azuredevops上构建它,我得到了错误

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'. 
##[error]Bash exited with code '1'." 

使用以下命令在安装依赖项步骤中发生错误:

^{pr2}$

我使用的是来自azuredevops的“Python包”模板,因此我不会对模板进行任何更改。默认主机是Ubuntu。有人能帮我吗?谢谢!在

enter image description here


Tags: nopy模板错误世界noterroropen

热门问题