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

From version 2.1
edited by Leon Poon
on 2021/03/23 05:14
Change comment: Renamed back-links.
To version 4.1
edited by Leon Poon
on 2021/03/23 05:15
Change comment: Renamed back-links.

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,8 @@
1 -After you have [[created a virtualenv>>doc:Main.How to Create a VirtualEnv.WebHome]], and [[installed some libraries in the virtualenv>>doc:Computing Newbies.Python Newbies.How to add libraries to a virtualenv.WebHome]], you should run your script in the virtualenv if your script makes use of the libraries that you installed.
1 +After you have [[created a virtualenv>>doc:Computing Newbies.Python Newbies.How to Create a VirtualEnv.WebHome]], and [[installed some libraries in the virtualenv>>doc:Computing Newbies.Python Newbies.How to add libraries to a virtualenv.WebHome]], you should run your script in the virtualenv if your script makes use of the libraries that you installed.
2 2  
3 3  Assuming that your script is at /abc/def/efg.py...
4 4  
5 -In your console [[change working directory>>doc:Main.How to Deal with Working Directory in Console.WebHome]] to your virualenv and type:
5 +In your console [[change working directory>>doc:Computing Newbies.How to Deal with Working Directory in Console.WebHome]] to your virualenv and type:
6 6  
7 7  {{code language="plain"}}
8 8  bin/python3 /abc/def/efg.py