Why am I getting ImportError: No module named pip ' right after installing pip?

Deval Pandya picture Deval Pandya · Sep 17, 2015 · Viewed 118.2k times · Source

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

Answer

Gorodeckij Dimitrij picture Gorodeckij Dimitrij · Mar 1, 2017

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