# ERROR: Invalid requirement: 'package == 1.0.0'

- **ID:** `python/pip-install-error-invalid-requirement-whitespace`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The requirement string contains spaces around the operator, which is not allowed in pip requirement syntax.

## Version Compatibility

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

## Workarounds

1. **** (99% success)
   ```
   pip install package==1.0.0
   ```
2. **** (95% success)
   ```
   echo 'package==1.0.0' > requirements.txt && pip install -r requirements.txt
   ```
3. **** (85% success)
   ```
   Refer to pip's documentation on requirement specifiers.
   ```

## Dead Ends

- **** — Quoting does not fix the whitespace issue. (90% fail)
- **** — Newer pip still enforces no whitespace around operators. (95% fail)
- **** — Force reinstall does not bypass parsing. (95% fail)
