How to add libraries to a virtualenv

Version 2.2 by Leon Poon on 2021/03/23 05:14

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