Make a call through Python Launcher

I installed Python 3.5 and 2.7 side by side on a Windows machine. Instead of messing with mine PATH, I use the Python Launcher to invoke different versions of Python, for example py -2, if I want to use Python 2. My question is: how can I name the executable pipfor what installation?

+4
source share
1 answer

You need to run pipas a module, for example

py -2 -m pip install virtualenv

In fact, if you want to communicate with python environments (for example, to install conflicting libraries for the same python version), you should take a look at virtualenv or venv

+6
source

Source: https://habr.com/ru/post/1653203/


All Articles