Environment installation and configuration of python and PyCharm tools


Take Windows as an example here

Python installation

  1. Of course, go to the Python official website to download, https://www.python.org/downloads/click me to go directly , as shown in the figure:
    insert image description here
    You can download the latest version, and you can pull down to find the previous specific version to install, as shown in the figure:
    insert image description here
    Here, the latest version is selected first for installation.
  2. After the download is complete, find the installation package and double-click to open it
    insert image description here
  3. Enter the installation page, pay attention to check here Add Python 3.10 to PATH, add environment variables, as shown in the figure:
    insert image description here
    Next click Next, as shown in the figure
    insert image description here
  4. Select the installation location for easy management, as shown in the figure,
    insert image description here
    the newly created Python directory of the D disk selected here, after the selection is complete, select to Installstart the installation.
  5. After the installation is complete, there will be an option, 关闭路径长度的限制, click it, as shown in the figure:
    insert image description here
    After selecting, a confirmation operation box will pop up, click Yes, as shown in the figure:
    insert image description here
    Congratulations here, Python is considered to be installed.
  6. To verify whether the installation is successful, you can use the shortcut key, win+renter cdmand click OK, and a black window will pop up, as shown in the figure:
    insert image description here
  7. Enter in the black window python, as shown in the figure:
    insert image description here
    a version number will appear, and you're done here.

Installation and configuration of PyCharm tools

  1. It is still indispensable to download, https://www.jetbrains.com/pycharm/download/#section=windowsclick me directly , after entering the official website, 社区版just choose, the professional version has a free 30-day trial period, as shown in the figure:
    insert image description here
  2. After the download is complete, you can choose the installation location by default, and just keep clicking on others next.
  3. After the installation is complete, select and create a new project, as shown in the figure:
    insert image description here
    Step 2 has been read here, as shown in the figure:
    insert image description here
    there is no one at the beginning, enter the selection page as shown in the figure:
    insert image description here
    after the selection is completed, click createto create your project, as shown in the figure :
    insert image description here

Configure PyCharm to set the Chinese interface

You can see that the default interface is English. If you want to modify it, you need to configure it briefly. As shown in the picture: select plugins插件
insert image description here
Search chinese, and then choose installto install. After the installation is complete, it is indeed ok . As shown in the picture
insert image description here
: you will be asked
insert image description here
whether to restart the editor, just confirm.
insert image description here
picture:
insert image description here

modify font size

Click Settings, as follows:
insert image description here
find the font, enter the appropriate font size, as follows:
insert image description here

Guess you like

Origin blog.csdn.net/qq_38188228/article/details/130180875