[Solved]-Pip install: can't open file pip, or Parent module '' not loaded


Assuming you have pip installed and you want to do this through python as opposed to the standalone pip client, you can also do

python -m pip install SomePackage


The command pip is not a Python module. It is an executable. This should work:

C:\> pip install Django


IIRC, pip on Windows installs to C:\Python34\Scripts by default. So, if that’s isn’t on your system path, you’d actually need to do this:

C:\> \Python34\Scripts\pip install Django

Also, read up in virtualenv and virtualenvwrapper. It’ll make your life a lot easier – cheers.

Leave a comment