Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt'

报错信息:
Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt'

解决方案:

python项目中必须包含一个 requirements.txt 文件,用于记录所有依赖包及其精确的版本号。以便新环境部署。执行 .sh 文件时,要在 执行文件当前目录下执行。

你可能感兴趣的:(Could not open requirements file: [Errno 2] No such file or directory: './requirements.txt')