# Configuring Python SDK

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> Download and install [Python](http://www.python.org/)
>
>
>
> Install and enable the [Python Community
> Edition](https://plugins.jetbrains.com/plugin/7322-python-community-edition) plugin.

Procedure: See the list of available Python interpreters

1. Ensure that you have downloaded and installed [Python](https://www.python.org/downloads/) on your computer.

Installing Python on Windows from Microsoft Store
: If you are on Windows, you can download Python from the Microsoft Store and install it as a Python interpreter. Once the Python application is downloaded from the Microsoft Store, it becomes available in the list of the Python executables.
:
:
:
: Note that interpreters added from the Microsoft Store installations come with some limitations. Because of restrictions on Microsoft Store apps, Python scripts may not have full write access to shared locations such as `TEMP` and the registry.

2. From the Python Interpreter drop-down list, select Show All.

3. In the Python Interpreters dialog, manage the list of interpreters. You can add, delete, and edit interpreters.

![See the list of available Python interpreters](https://resources.jetbrains.com/help/img/idea/2026.3/go_see_the_list_of_available_python_interpreters.png)

Procedure: Add a Python interpreter

1. Press `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) to open Settings and navigate to    `Build, Execution, Deployment | Python Interpreter`.

2. Click the Add Interpreter link next to the list of available interpreters and select Add Local Interpreter.

![Interpreter path](https://resources.jetbrains.com/help/img/idea/2026.3/go_interpreter_path.png)

The Add Python Interpreter dialog opens.

3. Select whether you want to create a new environment (Generate new) or use an existing one (Select existing).

> **Note:**
> You can use the Python Interpreters dialog to add an interpreter. Click the Add button to open the Add Python Interpreter dialog.

4. Depending on the previous setting, you need to set a path to the Python SDK:

* For the Generate new option, select the path in the Base python field.

* For the Select existing option, select the path in the Python path field.

5. From the Type drop-down list, select a Python environment type. You can select between the following types:

* Virtualenv: a tool for creating isolated Python environments. It allows you to manage dependencies per project without affecting the global Python installation. Recommended for most use cases where you need a simple, project-specific environment.

* Conda: a cross-platform environment and package manager, often used in data science and scientific computing. It supports both Python and non-Python packages. Conda environments are created using the `conda` command, typically from the Anaconda or Miniconda distributions.

* Pipenv: a tool that combines `pip` and `virtualenv` into a unified workflow. It uses `Pipfile and `Pipfile.lock` for dependency management. Pipenv aims to simplify dependency management while providing reproducible builds.`

* Poetry: dependency manager and build tool that simplifies managing libraries and applications. It uses `pyproject.toml` for configuration and offers a more modern alternative to traditional `setup.py`-based workflows.

* uv: a newer Python package and virtual environment manager, designed to be extremely fast and deterministic. It is part of the [Rye project](https://github.com/astral-sh/rye) and is gaining popularity for its performance and ease of use.

* Hatch: modern project manager and environment tool for Python. It supports creating isolated environments, managing dependencies, and publishing packages. Hatch is particularly suitable for projects that use `pyproject.toml` and need more advanced configuration features.

6. In the Location field, specify the path to the environment directory.

7. * Select the Inherit packages from base interpreter checkbox if you want all packages installed in the global Python on your machine to be added to the virtual environment you're going to create. This checkbox corresponds to the `--system-site-packages` option of the [virtualenv](http://www.virtualenv.org/en/latest/index.html) tool.

![python-project-inherit-global-site-packages](https://resources.jetbrains.com/help/img/idea/2026.3/go_python_project_inherit_global_site_packages.png)

Procedure: Remove a Python interpreter

* In the [Python Interpreters](#python_configure_interpreter) dialog, select the interpreter that you want to remove and click the Remove Interpreter button (![Remove Interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.remove.svg)).

