Installing a library with pip in Python

Let's install the numpy library using pip. By default, pip downloads all packages globally, meaning that the library will be available in all working directories.

To install numpy, use the following command:

terminalpip install numpy

After successful installation, you will see the following message:

terminalSuccessfully installed numpy-1.26.4

Let's check the list of installed packages again:

terminalpip list

Now the console will display the newly installed library:

terminalPackage                Version
---------------------- -------
mysql-connector-python 8.2.0
numpy                  1.26.4
pip                    24.0
protobuf               4.21.12
setuptools             65.5.1
wheel                  0.38.4
Задание 1

Install the matplotlib library. Import it into your work file and test its operation.

Задание 2

Install the dateparser library. Import it into your working file and test its operation.