Profile cover photo
Profile photo
Dilip Hari
78 followers
78 followers
About
Dilip's interests
View all
Dilip's posts

Post has attachment

Post has attachment

Post has attachment

Pip and virtual environments
--------------------------------------------------

I have googled the same information quite often in the past and I would like to collect this information in a post that I can just look up easily.

pip, virtualenv and virtualenvwrapper-win

Installing pip
A couple of ways - using easy_install OR using the get-pip script

Using easy_install
easy_install is an older package manager that is automatically installed with Python. It is found in <PYTHONHOME>\Scripts. You can just execute easy_install pip

get_pip script
Download the get-pip script from https://bootstrap.pypa.io/get-pip.py. Once downloaded, you can run python get-pip.py at the prompt.

Virtualenv
pip install virtualenv
An explanatory tutorial video:
https://www.youtube.com/watch?v=IX-v6yvGYFg

virtualenvwrapper-win
pip install virtualenvwrapper-win
An explanatory tutorial video:
https://www.youtube.com/watch?v=UcbUXq0wd-8&list=UUd-EhXGbXSozuzsAAdPIn3A

Main commands of virtualenvwrapper-win:
https://pypi.python.org/pypi/virtualenvwrapper-win

There are a couple of other features that I will add to a follow on post - install python modules into a virtualenv that require a compiler and including a different version of python into a virtualenv than the system one.
Wait while more posts are being loaded