> ## 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-0009: Unsupported legacy Sifr stdlib module import.

> Unsupported legacy Sifr stdlib module import.

`SIFR-IMPORT-0009` belongs to the **Imports and module resolution** diagnostic family. It means: unsupported legacy Sifr stdlib module import.

## 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-0009` 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-0009`                                            |
| Family                 | `IMPORT`                                                      |
| Severity               | Error                                                         |
| Stability              | stable                                                        |
| Owner                  | `sifr_lowering::lower`                                        |
| Representative fixture | `crates/sifr/tests/e2e/fail/legacy_sifr_asyncio_removed.sifr` |

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