> ## 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-IMPORT-0008: Bare CPython-style stdlib import attempt.

> Bare CPython-style stdlib import attempt.

`SIFR-IMPORT-0008` belongs to the **Imports and module resolution** diagnostic family. It means: bare CPython-style stdlib import attempt.

## Why It Happens

Module import or path resolution failed. Check module paths, visibility, ambiguous imports, and supported import forms.

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

## Erroneous Code

```python theme={null}
from math import sqrt
```

## How To Fix It

Use Sifr's explicit module namespace and import concrete symbols with `from sifr.&lt;module&gt; import &lt;name&gt;`.

## Fixed Code

```python theme={null}
from sifr.math import sqrt
```

## Details

| Field                  | Value                                                    |
| ---------------------- | -------------------------------------------------------- |
| Code                   | `SIFR-IMPORT-0008`                                       |
| Family                 | `IMPORT`                                                 |
| Severity               | Error                                                    |
| Stability              | stable                                                   |
| Owner                  | `sifr_lowering::lower / sifr_driver::project::discovery` |
| Representative fixture | `crates/sifr/tests/e2e/fail/bare_stdlib_from_math.sifr`  |

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