How to change the interpreter path in PyCharm?
To change the interpreter path in PyCharm, you can follow these steps:
- Open PyCharm and click on the “File” option in the menu bar.
- Select the “Settings” option from the dropdown menu that appears, and open the settings window.
- Expand the “Project Interpreter” option in the settings window.
- Under the “Project Interpreter” option, you can see the interpreter currently being used for the project.
- Click on the drop-down menu “Python Interpreter” on the right side, and select the option “Show All…” to display all options.
- In the pop-up window, you can see all the installed Python interpreters.
- To add a new interpreter path, click on the “+” (plus) button in the top left corner.
- Choose the “System Interpreter” option in the pop-up window.
- Enter the new interpreter path in the “Interpreter” input box.
- Click on the “OK” button to save the settings.
This successfully changed the interpreter path of PyCharm.