Fix Python – Why am I getting ImportError: No module named pip ‘ right after installing pip?

Question

Asked By – Deval Pandya

I have installed pip and ez setup. I also checked the system path and I can see the module in the folder structure. Still when i try to run pip command, I get an Import error saying no module named pip. I am running 32bit python on a windows7 machine

Now we will see solution for issue: Why am I getting ImportError: No module named pip ‘ right after installing pip?


Answer

Just be sure that you have include python to windows PATH variable, then run python -m ensurepip

This question is answered By – Gorodeckij Dimitrij

This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0