⊗pyPmMdPLI 87 of 128 menu

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:

pip install numpy

After successful installation, you will see the following message:

Successfully installed numpy-1.26.4

Let's check the list of installed packages again:

pip list

Now the console will display the newly installed library:

Package 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

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

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

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline