Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
UjjwalMahar opened this issue Oct 2, 2022 · 6 comments

Comments

@UjjwalMahar
Copy link
Contributor

UjjwalMahar commented Oct 2, 2022

I was facing the issue <ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'> on Windows after I used the command:

$ python3 -m pip install --user -r requirements.txt

P1

@UjjwalMahar UjjwalMahar changed the title [Windows]<ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'> [Windows] ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt' Oct 2, 2022
@Udayraj123
Copy link
Owner

Udayraj123 commented Oct 2, 2022

@UjjwalMahar so the issue was solved without having to pass absolute path. Got it. good first issue 👏

Now for your own practice, can you share the solution you found out here?

@UjjwalMahar
Copy link
Contributor Author

yes sure

@UjjwalMahar
Copy link
Contributor Author

UjjwalMahar commented Oct 2, 2022

You can resolve it by following the steps :

--> It can happen if you are not in the directory where you have cloned your project .

  1. Navigate to the directory where you have cloned your project .

Example - I had made OMR Checker Directory to clone the project ,to navigate to the directory use cd

cd

  1. To look contents inside your directory use ls

ls

  1. Now navigate to this folder using cd OMRChecker

cd2

  1. Now use command: python3 -m pip install --user -r requirements.txt

@Udayraj123
Copy link
Owner

Great! This shall help anyone facing a similar issue now. Thanks for documenting @UjjwalMahar. Closing the ticket now.

@Udayraj123
Copy link
Owner

Udayraj123 commented Oct 2, 2022

Okay let's have you make a change in the readme.
You can go through the project readme and tell where you can update the readme so that the above issue can be avoided by others

@Udayraj123 Udayraj123 reopened this Oct 2, 2022
@UjjwalMahar
Copy link
Contributor Author

Okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants