Unanswered
Hey, What Is The Exact Difference Between
Hi JitteryCoyote63 ,
When using the --install-globally
switch, the agent.package_manager.system_site_packages
flag will be automatically be set to true
.
While the system_site_packages
flag simply controls how the agent configures pip
(thus allowing you to use the agent in systems where you've already preinstalled some python packages), the --install-globally
switch controls how the agent sets up virtual environments, and makes it install the required packages before creating the virtual environment, thus speeding up multiple venv creation (as the packages are only installed once) - doing that required using the system_site_packages
flag, otherwise packages installed outside of the virtual environment won't be accessible...
189 Views
0
Answers
4 years ago
one year ago
Tags