Since Python 2.7.9,
pip is released together with the Python. But I still cannot find it when our administrator installed the latest python on my PC. How to install pip, then create
virtualenv on Windows without the administrative permission?
python get-pip.py --user. It will install
python -m pip install --user virtualenv. This will install the package of virtualenv
python -m virtualenv ENVto create a new virtual environment.
ENVis a directory to place the new virtual environment.
- Activate the script by running
Now you are in the new virtualenv that is isolated from the python that was used to create it.
You can then install python package by running
pip install ... as usual.