Version 3.1 by Leon Poon on 2021/03/23 05:15

Hide last authors
Leon Poon 3.1 1 After you have [[created a virtualenv>>doc:Computing Newbies.Python Newbies.How to Create a VirtualEnv.WebHome]], the virtualenv doesn't contain any libraries apart from the basic python ones.
Leon Poon 1.1 2
Leon Poon 2.1 3 To install a library named X, [[change working directory>>doc:Main.How to Deal with Working Directory in Console.WebHome]] to your virualenv and type:
Leon Poon 1.1 4
Leon Poon 2.1 5 {{code language="plain"}}
6 bin/pip install X
7 {{/code}}
Leon Poon 1.1 8
9 If you are on windows, type this instead:
10
Leon Poon 2.1 11 {{code language="plain"}}
12 scripts\pip.exe install X
13 {{/code}}