Manage interpreter paths
warning
The following is only valid when the Python plugin is installed and enabled.
IntelliJ IDEA makes it possible to add paths to the selected interpreter. These paths will be added to the environment variable PYTHONPATH
. Also, IntelliJ IDEA will index these paths and (potentially) resolve the objects of the code (for example, imports of packages).
Navigate to File | Project Structure or press CtrlAltShift0S.
In the Project Structure dialog, click SDKs node under Platform Settings.
Select the desired interpreter.
View the interpreter paths in the Classpath tab:
In the toolbar of the Python Interpreters SDKs page of the Project Structure dialog, click
.
Choose the desired path in the Select Path dialog. Note that to add a path to a particular Python version you need to download it from https://www.python.org/ and install it on your machine.
Select the paths to be deleted.
In the toolbar of the Interpreter Paths SDKs page of the Project Structure dialog, click
.
Thanks for your feedback!