Pip is searching other requirement file than I wish

16 views Asked by At

I am trying to install dependencies from requirements .txt but I am encountering an error.

Command used:

$ pip install -r requirements.txt

This is result:

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

I made sure that the file "requirements.txt" is present. I tried both absolute and relative paths but I'm encountering the same result.

1

There are 1 answers

0
koralgooll On

Sorry for dummy question, I haven't known that it is possible to refer other requirement files within the original requirement file. My requirements.txt include: -r requirements-common.txt which pip is searching for.