Changes for page How to add libraries to a virtualenv
Last modified by Leon Poon on 2021/03/23 13:15
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 - Main.WebHome1 +Computing Newbies.Python Newbies.WebHome - Content
-
... ... @@ -1,11 +1,13 @@ 1 -After you have [[created a virtualenv>> url:https://wiki.codepowered.com/wiki/How_to_Create_a_VirtualEnv]], the virtualenv doesn't contain any libraries apart from the basic python ones.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. 2 2 3 -To install a library named X, [[change working directory>> url:https://wiki.codepowered.com/wiki/How_to_Deal_with_Working_Directory_in_Console]] to your virualenv and type:3 +To install a library named X, [[change working directory>>doc:Computing Newbies.How to Deal with Working Directory in Console.WebHome]] to your virualenv and type: 4 4 5 -{{{bin/pip install X 6 -}}} 5 +{{code language="plain"}} 6 +bin/pip install X 7 +{{/code}} 7 7 8 8 If you are on windows, type this instead: 9 9 10 -{{{scripts\pip.exe install X 11 -}}} 11 +{{code language="plain"}} 12 +scripts\pip.exe install X 13 +{{/code}}