# fixture 'benchmark' not found
Available fixtures: cache, capfd, capsys, monkeypatch, ...

- **ID:** `python/pytest-benchmark-no-benchmark-fixture`
- **Domain:** python
- **Category:** install_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

pytest-benchmark is not installed or is installed in a different Python environment than the one running pytest.

## Version Compatibility

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

## Workarounds

1. **** (98% success)
   ```
   python -m pip install pytest-benchmark
python -m pytest --benchmark-only -q
   ```
2. **** (90% success)
   ```
   which pytest
pytest --version
python -m pytest --version
python -m pip install pytest-benchmark
   ```

## Dead Ends

- **** — The plugin registers the fixture via entry points; a plain import does not register it if the package is missing. (80% fail)
- **** — Shadows the real plugin and provides no timing functionality; tests pass but measure nothing. (70% fail)
