Home > Article > Backend Development > How to change python path in pycharm
In order to change the Python path in PyCharm, you need to: Change the project's Python interpreter: Select Project > Settings > Python Interpreter. Change the IDE's Python interpreter: Select File > Settings > Tools > Python Interpreter. Add an interpreter using the gear icon (if not listed): Adds a version that is compatible with the project. Restart PyCharm to apply changes: Make sure you restart PyCharm after changing paths.
Change the Python path in PyCharm
PyCharm is installed in the computer system by default and uses the system's default Python interpretation device. However, you may need to use Python in multiple versions or environments. Therefore, PyCharm allows you to change the Python interpreter for your project or the IDE itself.
Change the project's Python interpreter
Change the IDE's Python interpreter
Notes
The above is the detailed content of How to change python path in pycharm. For more information, please follow other related articles on the PHP Chinese website!