PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Python Interpreter

Last modified: 17 March 2022

File | Settings | Project | Python Interpreter for Windows and Linux

PyCharm | Preferences | Project | Python Interpreter for macOS

Ctrl+Alt+S Settings

When you configure a Python interpreter, you need to specify the path to the Python executable in your system. So, before configuring a Python interpreter, you need to ensure that you've downloaded Python and installed it in your system and you're aware of a path to it. You can create several Python interpreters based on the same Python executable. This is helpful when you need to create different virtual environments for developing different types of applications. For example, you can create one virtual environment based on Python 3.6 to develop Django applications and another virtual environment based on the same Python 3.6 to work with scientific libraries.

Use this page to configure and assign a Python interpreter for each of the projects opened in the same window.