Installing Python packages on windows using pip package manager

Installing PIP

openpyxl is a packages name in below example.

python -m pip install openpyxl

Sample Output

 :\Users\********>python -m pip install openpyxl
 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000013F082A8408>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed')': /simple/openpyxl/
 Collecting openpyxl
   Downloading openpyxl-3.0.3.tar.gz (172 kB)
      |████████████████████████████████| 172 kB 102 kB/s
 Collecting jdcal
   Downloading jdcal-1.4.1-py2.py3-none-any.whl (9.5 kB)
 Collecting et_xmlfile
   Downloading et_xmlfile-1.0.1.tar.gz (8.4 kB)
 Installing collected packages: jdcal, et-xmlfile, openpyxl
     Running setup.py install for et-xmlfile ... done
     Running setup.py install for openpyxl ... done
 Successfully installed et-xmlfile-1.0.1 jdcal-1.4.1 openpyxl-3.0.3 

Upgrading PIP

python -m pip install --upgrade pip 

Sample Output

C:\Users\********>python -m pip install --upgrade pip
Requirement already up-to-date: pip in c:\users\********\appdata\local\programs\python\python37\lib\site-packages (20.0.2)

Question?

Comment below and we will reply within 24 hours. For any help with DB – /https://jaapla.com/contact/

This Post Has One Comment

  1. Mark

    Thanks for your blog, nice to read. Do not stop.

Leave a Reply