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

- **ID:** `python/pip-req-file-not-found-relative`
- **Domain:** python
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The -r path is resolved relative to the current working directory, not to the file that contains the -r line.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **** (98% success)
   ```
   cd /path/to/project
pip install -r requirements/base.txt
   ```
2. **** (95% success)
   ```
   # requirements.txt at project root
-r requirements/base.txt
-r requirements/dev.txt
pip install -r requirements.txt
   ```

## Dead Ends

- **** — --no-index affects package lookup, not file resolution. (90% fail)
- **** — MANIFEST.in is for sdist contents, not for pip's requirements resolution. (85% fail)
- **** — Changes the base for resolution but may break other relative paths in the same file. (60% fail)
