#How to install the library in python?
How to install third-party libraries in python:
First we open the command interpreter program (windows r) on the computer and enter cmd, as shown in the figure Shown:
Recommended: "Python Tutorial"
Now we can install the third-party library, first install the numpy library (Providing array support and corresponding efficient processing functions), as shown in the figure:
Then install the scipy library (providing matrix support and matrix-related numerical calculations Module), as shown in the figure:
Then we can install the matplotlib library (visualization tools, drawing library), as shown in the figure:
Finally install the pandas library (a powerful and flexible data analysis and exploration tool), as shown in the figure:
Notes
When installing third-party libraries, you must ensure a smooth network connection
The above is the detailed content of How to install libraries in python. For more information, please follow other related articles on the PHP Chinese website!