How do I install pip on Windows

+3 votes

pip is a replacement for easy_install. But should I install pip using easy_install on Windows? Is there a better way?

Sep 18, 2018 in Python by bug_seeker
• 15,510 points
1,382 views

2 answers to this question.

+1 vote
Best answer

pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org or if you are working in a Virtual Environment created by virtualenv. Just make sure to upgrade pip.

Step 1: Download the get.py file to your local drive.

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

This will download the get.py file to your local drive

Step 2: Run the 

python get-pip.py

All done! Good to go! 

answered Nov 2, 2018 by Priyaj
• 58,020 points

selected Nov 2, 2018 by Omkar
+1 vote

Official instructions

Per https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip:

Download get-pip.py, being careful to save it as a .py file rather than .txt. Then, run it from the command prompt:

python get-pip.py

This installs the pip package, which (in Windows) contains ...\Scripts\pip.exe that path must be in PATH environment variable to use pip from the command line (see the second part of 'Alternative Instructions' for adding it to your PATH,

installers for all Python versions, both 32 and 64 bit. You need to:

  1. Install setuptools

  2. Install pip

answered Sep 18, 2018 by Priyaj
• 58,020 points

Related Questions In Python

0 votes
1 answer

How do i install numpy on windows?

Python Package Index (PyPI) is a repository ...READ MORE

answered Jul 3, 2019 in Python by anonymous
702 views
0 votes
1 answer

How do I install pip on macOS or OS X?

All you have to do is: sudo easy_install ...READ MORE

answered Sep 11, 2020 in Python by Ahmad Awais
1,220 views
0 votes
1 answer

How can I install pip on Windows?

Python 2.7.9+ and 3.4+ Python 3.4 (released March 2014) ...READ MORE

answered Nov 22, 2020 in Python by Gitika
• 65,770 points
669 views
0 votes
1 answer
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
+2 votes
1 answer

How to install pip in windows?

Step 1:  Open the following link and go to ...READ MORE

answered Nov 27, 2018 in Python by Priyaj
• 58,020 points
5,238 views
0 votes
1 answer

How do I sort a dictionary by value?

It is not possible to sort a ...READ MORE

answered Jul 30, 2018 in Python by Priyaj
• 58,020 points
753 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP