Python python3.8 installed with pip

Python is a scripting language, easy to learn, rich in third-party libraries , can do data analysis, machine learning, data processing, website development, etc.

The following teaches you how to install Python3.8 and how to use pip to install third-party libraries (packages)

Python installation

Python official website: https://www.python.org/

Download and save, click the exe file

You can choose a custom installation, Next (next) to the following interface, modify the installation directory to the specified directory, otherwise it will be installed to the C drive by default! Click Install to install!

 

After the installation is complete, check whether the installation is successful, press the Win key, enter cmd, and press Enter to enter the command line prompt interface

Enter python -V, and the following information is displayed, which means that your installation is successful, simple.

 

Pip install

After installing python, there will be some built-in packages

But if we want to do data analysis, we may also need to install numpy, pandas and other third-party libraries to help us work.

Here's how to install pip

Download address: https://pypi.org/project/pip/

Click to download, extract it to the specified directory, for example, we extract it to the D:\DevTools\pip-20.2 directory

Press the Win key, enter cmd, press Enter to enter the command line prompt interface, and enter the directory after pip decompression as shown in the figure below.

Execute the python setup.py install command to install pip

To verify that the installation was successful, enter pip -V

Display the following information

 

Now we can install various software packages and begin to describe the world. . . .

Try installing pandas, and it also comes with numpy, pytz, six, python-dateutil packages, buy one get five, what a surprise gift package! ! !

If the download is very slow, you can refer to: How to solve the problem that the download package using pip install is slow or even timed out

 

 

Related: Python python3.8 installed with pip