How to upgrade pip in Windows 7/8/10 ?

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • How to upgrade the current version of 'pip' on your PC?
    1) First, open Command Prompt (Search 'cmd'). Then, type 'cd/' to ensure that your path is in C:/ drive only.
    2) Find the location of Python Software in your PC. Right-click on Python shell or IDLE, and click 'Open File Location'. It may then show a shortcut file of Python shell/IDLE. Again right-click on the file and click 'Open file Location'.
    3) Copy the file location, and paste in Command Prompt. The copy-pasted version includes 'C:/' at the start of the text. Delete 'C:/' and type 'cd'. Don't forget to keep a space between 'cd' and the path. Hit Enter.
    4) Type 'python -m pip install --upgrade pip'. This will upgrade your pip version. You should have an internet connection. Your pip version will be upgraded in few seconds to the latest version. (If this does not work, then try "python -m pip install --user --upgrade pip". It should work).
    5) To check your current version of pip in your PC, type 'pip --version' on your command prompt, and hit Enter. Your current pip version will be displayed.
    Why upgrade pip?
    To install various packages of python (such as numpy, scipy, etc.,) sometimes the latest version of pip is needed. Otherwise you won't be able to install the packages.
    How to install "SciPy" packages in Windows?
    SciPy packages can be very easily installed in Windows 7/8/10 via command prompt.
    Type 'python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nose' to install SciPy packages.
    Visit SciPy's Official Website: www.scipy.org/...
    Background Music:
    Track: Cliffsides
    Artist: Dan Lebowitz
    From RUclips Audio Library
    Kindly Subscribe if you liked the video.
    #howtoupgradepip #pythonprogramming

Комментарии • 352