最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

file - Error when running the following command in CMD - Stack Overflow

programmeradmin6浏览0评论
pip install -r requirements.txt

The out put error is

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

I was expecting a directory of requirements folder.

pip install -r requirements.txt

The out put error is

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

I was expecting a directory of requirements folder.

Share Improve this question edited Jan 19 at 12:25 Jacques Ramsden 8716 silver badges22 bronze badges asked Jan 17 at 9:05 GayatriGayatri 9
Add a comment  | 

1 Answer 1

Reset to default 0

It seems that the file requirements.txt is not accessible.

From the same location you are trying to run the pip install from try to open the file.

notepad requirements.txt

If the file is missing you will see this.

You can then do one of two things. Either move the contents of the requirments.txt file into this newly created file (if you say yes to create it), or you can make sure your path is correct when you call pip install

发布评论

评论列表(0)

  1. 暂无评论