I am puzzled by the following behavior. I have Python 3.4 installed on Windows 7. Pip came installed with the Windows distribution.
When I try to install virtualenv (or any other package), or execute any other command, nothing happens:
C:\Python34\pip install virtualenv
(nothing happens)
C:\Python34\pip list
(nothing happens)
However, the python -m variants do work.
C:\Python34\python -m pip install virtual env
C:\Python34\python -m pip list
I know that the Python Packaging User Guide, in the section Installing Packages says to use python -m pip install [package name]
. However, should 'pip install [package name]' also work?
I found in a previous post that they do the same things, so why is there a difference in behavior?