# Python default notebook and codespace environment

> Python default notebook and codespace environment - Python 3.13 is now the default notebook and
> codespace environment

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-11-07T05:42:16.364516+00:00` (UTC).

## Primary page

- [Python default notebook and codespace environment](https://docs.datarobot.com/en/docs/release/deprecations-and-migrations/python-default-codespace.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [Timeline](https://docs.datarobot.com/en/docs/release/deprecations-and-migrations/python-default-codespace.html.md#timeline): In-page section heading.

## Related documentation

- [AI Platform releases](https://docs.datarobot.com/en/docs/release/index.html.md): Linked from this page.
- [Deprecations and retirements](https://docs.datarobot.com/en/docs/release/deprecations-and-migrations/index.html.md): Linked from this page.
- [connect a local IDE to a codespace](https://docs.datarobot.com/en/docs/workbench/notebook/codespaces/connect-local.html.md): Linked from this page.
- [Notebooks](https://docs.datarobot.com/en/docs/api/reference/public-api/notebooks.html.md#v1113): Linked from this page.
- [Built-in environment images](https://docs.datarobot.com/en/docs/workbench/notebook/code-nb/env-nb.html.md#built-in-environment-images): Linked from this page.

## Documentation content

> [!WARNING] Deprecation notice
> Python 3.13 has now replaced 3.11 as the default notebook and codespace environment.

New notebooks and codespaces now use the built-in Python 3.13 environment image by default, replacing Python 3.11. The image includes Python 3.13, the DataRobot Python client, and common data science libraries. It is also required to [connect a local IDE to a codespace](https://docs.datarobot.com/en/docs/workbench/notebook/codespaces/connect-local.html.md) over SSH.

Existing notebooks and codespaces keep the image already selected for them. To continue using Python 3.11, choose that image on the Environment tab. Self-managed administrators can restore Python 3.11 as the cluster default by setting `DEFAULT_ENV_ID` in `values.yaml`; see [Notebooks](https://docs.datarobot.com/en/docs/api/reference/public-api/notebooks.html.md#v1113).

Python 3.11 will be deprecated in a future release. DataRobot recommends upgrading to Python 3.13.

For more information, see [Built-in environment images](https://docs.datarobot.com/en/docs/workbench/notebook/code-nb/env-nb.html.md#built-in-environment-images).

## Timeline

| Date | Event |
| --- | --- |
| Now | Python 3.11 is deprecated; Python 3.11 is the default environment image. |
| Future | Python 3.11 will be disabled in a future release. |
