# ERROR: Invalid requirement: 'foo==1.0.0' Hint: It looks like a path. File 'foo==1.0.0' does not exist.

- **ID:** `python/pip-invalid-requirement-no-matching-distribution`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pip parsed the argument as a local path because of quoting or shell expansion issues, or the requirement string contains invalid characters.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.9 | active | — | — |
| 3.10 | active | — | — |
| 3.11 | active | — | — |
| 3.12 | active | — | — |

## Workarounds

1. **** (92% success)
   ```
   Quote the requirement: `pip install 'foo==1.0.0'` (single quotes on Unix).
   ```
2. **** (80% success)
   ```
   Check for stray spaces or shell globbing; use `--` separator: `pip install -- foo==1.0.0`.
   ```

## Dead Ends

- **** — The user intended to install a package, not reference a file. (90% fail)
- **** — Does not fix parsing of the requirement. (80% fail)
