How to add libraries to a virtualenv

Last modified by Leon Poon on 2021/03/23 13:15

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