> ## 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-PYTRUST-0005: Required Python import root is not authorized by the root application.

> Required Python import root is not authorized by the root application.

`SIFR-PYTRUST-0005` belongs to the **Embedded Python trust** diagnostic family. It means: required Python import root is not authorized by the root application.

## Why It Happens

An embedded Python import or native extension is blocked or untrusted under the project trust policy. Declare trust explicitly for the required Python surface.

<Info>
  Use `sifr --explain SIFR-PYTRUST-0005` 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-PYTRUST-0005`                                                                                     |
| Family                 | `PYTRUST`                                                                                               |
| Severity               | Error                                                                                                   |
| Stability              | stable                                                                                                  |
| Owner                  | `sifr_package::python`                                                                                  |
| Representative fixture | `crates/sifr_package/src/python/trust_policy_tests.rs::required_python_root_must_be_authorized_by_root` |

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