The first part of the second section Python3.6.5 installation and environment configuration

1. Download address https://www.python.org/downloads/  

        Python documentation download address : https://www.python.org/doc/

       

2. Installation (here, the installation is in the D drive: D:\APP_Install directory as an example):
 1. Create a new installation directory:

Create a new folder    in the D:\APP_Install directory and name it: Python3.6.5 (you can name it yourself, you don't need to keep it consistent)


2. Install:

    1) Double-click the downloaded python3.6.5.exe file to enter the following interface

      1)

    2) Check Add Python 3.6 to PATH on the interface of 1) click Customize installation, jump to the following interface, click Next to jump to Advance Option, click Brower, and then               select  the folder directory newly created in step 1. Click OK

   

     

 3) After step 2), the interface returns to the following interface, click Install

   

    After the installation is complete, click Close

3. Environment configuration: divided into two situations

1. In the installation step 2 (2), if you check Add Python 3.6 to PATH   when installing Python, you can enter the environment variable to check whether the two items in the figure exist in the Path.

  (Environment variable check path: Computer----Right click---Properties---Advanced system settings---Environment Variables---Double-click Path environment variable)

   

2. If you forget to check Add Python 3.6 to PATH during the installation process , you don't need to uninstall it, just add the content in the above figure to the Path variable and
    create a new one---copy the installation path of Python---OK

    New ---- Script under the python installation path --- OK


4. Check if python is installed successfully

   Enter python in the cmd command window and press Enter. If the following interface appears, the configuration is successful. If it is determined that the configuration content is correct, it still prompts that Python is not an internal command. You can restart the computer and try it.

  




    

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324379081&siteId=291194637