The requirement specification in your requirements file is malformed. pip couldn't parse it as a valid package requirement.
Fixes How to fix 'Invalid requirement' error in pip
# How to fix 'Invalid requirement' error in pip
A requirement must follow PEP 508 format: 'package-name[extras]>=version'. If you have typos, invalid syntax, or malformed specifiers, pip rejects the requirement as invalid.
Review the error message above and identify which cause applies to your situation. Run additional diagnostics if needed.
Follow the corresponding solution from the causes section above.
Once you've addressed the root cause, try running 'pip install' again.