Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法

1.打开此电脑->属性->高级系统设置->环境变量->(系统变量)双击PATH->找有没有Scripts环境变量,如果有就上移到最上然后确定。如果没有就点新建添加,输入Scripts文件所在位置然后移动到最上。

Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法_第1张图片

Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法_第2张图片

Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法_第3张图片

 Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法_第4张图片

2.以上操作完成后再试试 pip install -r requirements.txt

Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt‘报错解决办法_第5张图片

ok!

 

 

 

 

 

你可能感兴趣的:(python)