Installing, Uninstalling and Reloading Interpreter Paths
Introduction
PyCharm makes it possible to add paths to the selected interpreter. In doing so, these paths will be added to the environment varaible PYTHONPATH
. Also, PyCharm will index these paths and (potentially) resolve the objects of the code (for example, imports of packages)
Viewing interpreter paths
To view the interpreter paths
- In the Project Interpreter page of the project settings, click button.
- In the drop-down list, click Show all.... The available interpreters show up in the Project Interpreters dialog.
- Select the desired interpreter.
- In the toolbar of the Project Interpreters dialog box, click the button . The existing paths of the selected interpreter show up in the Interpreter Paths dialog box.
Adding interpreter paths
To add an interpreter path
- In the toolbar of the Interpreter Paths dialog box, click .
- Choose the desired path in the Select Path dialog.
Removing interpreter paths
To delete interpreter paths
- Select the paths to be deleted.
- In the toolbar of the Interpreter Paths dialog box, click .
The removed paths remain in the list with the note "removed by user".
Reloading interpreter paths
To reload interpreter paths
- In the toolbar of the Interpreter Paths dialog box, click .
Last modified: 28 March 2018