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 - Computing Newbies.Python Newbies.WebHome1 +Main.WebHome - Content
-
... ... @@ -1,14 +1,11 @@ 1 -After you have [[created a virtualenv>>doc :Main.How.WebHome]], the virtualenv doesn't contain any libraries apart from the basic python ones.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. 2 2 3 -To install a library named X, [[change working directory>>doc :Main.How.WebHome]] to your virualenv and type: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: 4 4 5 -{{code language="plain"}} 6 -bin/pip install X 7 -{{/code}} 5 +{{{bin/pip install X 6 +}}} 8 8 9 9 If you are on windows, type this instead: 10 10 11 -{{code language="plain"}} 12 -scripts\pip.exe install X 13 -{{/code}} 14 - 10 +{{{scripts\pip.exe install X 11 +}}}