Back

Explore Courses Blog Tutorials Interview Questions
0 votes
3 views
in Python by (50.2k points)
Kindly be informed that I was learning all the basics of programming in Python 2.7 and now I want to add Pip to my copy of 2.7. I got a link to download the unofficial 64-Bit installer but when I downloaded it and ran it, it said I needed to have Python 2.7 (which I do) and I couldn't find it in the registry. I then visited Pip's website and downloaded the official Windows installer and unpacked it using WinRAR. Kindly guide me.

1 Answer

0 votes
by (108k points)

The type of system doesn't matter as you can run 32-bit Windows on a 64-bit machine and you can run 32-bit Python on 64-bit Windows.

If you have 32-bit Python, you just need to install 32-bit pip. (Or you need to switch to 64-bit Python.) From your problem statement, I think you have 32-bit Python on 64-bit Windows and attempted to use a 64-bit pip.

Just installing pip is enough to install any pure-Python packages. But if you need to install packages that include C extensions, you will then first need to set up a compiler (either MSVC or MinGW/gcc), as described in the pip documentation.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

Browse Categories

...