Summary of Python Installation Problems and python Problems
Today is the first time I came into contact with the Python tool. I wrote a video on MOOC and installed and used it.
The instructor on the video did not elaborate on how to install and use Python, but briefly introduced some common Python tools. Then I directly talked about installing the request library. I thought that the request can be directly installed without additional software installation.
After watching the video, I install the request myself. According to his operation code "pip install requsts", the results are not as long as they are expected, but "not internal or external commands, nor runable programs or batch files.".
Problems discovered after research: 1. No Python software is installed. 2. No path is added after the software is installed. 3. pip path also needs to be added.
You can download the Python software from the official website and install it. Select a Windows or mac version based on your platform. After installation, enter Python in cmd. if the version information is displayed, the software has been installed successfully.
In the win10 environment, add the environment step to my computer-properties-advanced system settings-environment variables-find PATH in the system variables-Create Your Python installation PATH and copy it in.
The Scripts file in the Python installation PATH must also be added to the PATH. The method is the same as above.
Now you have installed requests, and pip install requests can be successfully completed.