搭建接口测试环境安装依赖报错了怎么办

安装依赖:

pip install -r requirements.txt -i https://pypi.douban.com/simple

返回结果:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
WARNING: You are using pip version 20.2.3; however, version 21.1.2 is available.
You should consider upgrading via the 'd:\python39\python.exe -m pip install --upgrade pip' command.

 

不知道你这个问题是否已经解决, 如果还没有解决的话:

如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^