# ExtraNotInstalledError

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/ExtraNotInstalledError)

Raised when an extra cannot be removed from this install.

Covers both "not selected on the tool requirement" and refusal subclasses.
Callers distinguish them because only the base class is an idempotent no-op:
re-running a removal for an extra that is already gone is a success, while
refusing a protected or composite-supplied extra is not.

## Signature

```python
ExtraNotInstalledError()
```

## Extends

- `RuntimeError`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4bfa52000ef65ac623d8ada0cb67f67cbdd663ea/libs/code/deepagents_code/update_check.py#L3746)