I've installed Python 3.5 and 2.7 side by side on a Windows machine. Rather than messing around with my PATH
, I'm using the Python Launcher to call different Python versions, for instance py -2
if I want to use Python 2. My question is: how do I call the pip
executable for that installation?
You have to start pip
as a module like
py -2 -m pip install virtualenv
Actually if you do want to mess around with python-environments (like installing conflicting libraries for the same python-version) you should take a look a virtualenv or venv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With