> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-PYENV-0007: Selected Python environment has no site-packages path.

> Selected Python environment has no site-packages path.

`SIFR-PYENV-0007` belongs to the **Embedded CPython environment** diagnostic family. It means: selected Python environment has no site-packages path.

## Why It Happens

The selected Python environment is missing, malformed, ambiguous, or fails probe/ABI checks. Configure exactly one root-application uv environment and ensure the interpreter, site-packages, and declared imports are available.

<Info>
  Use `sifr --explain SIFR-PYENV-0007` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field                  | Value                                                                                                           |
| ---------------------- | --------------------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-PYENV-0007`                                                                                               |
| Family                 | `PYENV`                                                                                                         |
| Severity               | Error                                                                                                           |
| Stability              | stable                                                                                                          |
| Owner                  | `sifr_package::python`                                                                                          |
| Representative fixture | `crates/sifr_package/src/python/probe_validation_tests.rs::probe_rejects_missing_site_packages_with_pyenv_0007` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
