I want to install all the dependencies in Django using requirements.txt.but I am getting an error
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
CodePudding user response:
Make sure there's a requirements.txt in your folder. Reading your error says that there's no file in your folder.
CodePudding user response:
You maybe accidentally ran the install command in a sub-folder or in a parent folder which would return this error. Check if you are running the command in the right folder (the one with requirements.txt).