Home >Backend Development >Python Tutorial >How Pycharm configures the python interpreter for the project

How Pycharm configures the python interpreter for the project

coldplay.xixi
coldplay.xixiOriginal
2021-03-10 16:44:1529933browse

How Pycharm configures the python interpreter for the project: First open Pycharm and select the settings option; then select the project option and select the Project Interpreter option; then select the Python environment; and finally click the ok button.

How Pycharm configures the python interpreter for the project

The operating environment of this tutorial: Windows 7 system, python version 3.9, DELL G3 computer.

How Pycharm configures the python interpreter for the project:

1. Open the Pycharm development tool, right-click the project and select the settings option, as shown in the figure below

How Pycharm configures the python interpreter for the project

2. Of course, you can also directly click the settings button in the toolbar, as shown below

How Pycharm configures the python interpreter for the project

3. In the pop-up In the settings interface, we select the project option. The name behind project is the name of the current project you open, as shown in the figure below

How Pycharm configures the python interpreter for the project

4. Expand the project option and select it below Project Interpreter options, as shown in the figure below

How Pycharm configures the python interpreter for the project

#5. Then select a Python environment in the drop-down box of Project Interpreter on the right. You will generally choose your own local installation here. python environment, as shown in the figure below

How Pycharm configures the python interpreter for the project

6. After selecting the python interpreter, we click the Apply button or OK button in the lower right corner, as shown in the figure below

How Pycharm configures the python interpreter for the project

Related free learning recommendations: python video tutorial

The above is the detailed content of How Pycharm configures the python interpreter for the project. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn