How to add libraries to a virtualenv

Version 2.1 by Leon Poon on 2018/12/24 12:31

After you have created a virtualenv, the virtualenv doesn't contain any libraries apart from the basic python ones.

To install a library named X, change working directory to your virualenv and type:

bin/pip install X

If you are on windows, type this instead:

scripts\pip.exe install X