To change the Python version in PyCharm, follow these steps: 1. Open Settings; 2. Select "Python Interpreter"; 3. Select the desired version; 4. Apply the changes; 5. Restart PyCharm ;6. Verify version.
How to select the Python version in PyCharm
PyCharm is a professional Python development tool that allows users to Easily switch between different Python interpreters. The following are detailed steps:
1. Open PyCharm
Start PyCharm.
2. Open Settings
Click the "File" menu and select "Settings".
3. Navigate to Python Interpreter Settings
In the left sidebar, expand the Projects section and select Python Interpreter.
4. Select a Python version
In the Python Interpreter settings page, you will see a drop-down list for selecting a Python version. Click the drop-down list and select the desired Python version.
5. Apply changes
Click the Apply button at the bottom of the page to apply your changes.
6. Restart PyCharm
PyCharm needs to be restarted for the changes you made to take effect. Click the OK button and restart PyCharm.
7. Verify Python Version
After restarting, you can see the currently selected Python version in the status bar.
Tip:
The above is the detailed content of How to choose python version in pycharm. For more information, please follow other related articles on the PHP Chinese website!