It creates an environment that has its own installation directories, that doesn’t share libraries with other virtualenv environments (and optionally doesn’t access the globally installed libraries either).
If you build with virtualenv system-site-packages ENV, your virtual environment will inherit packages from /usr/lib/python2.7/site-packages (or wherever your global site-packages directory is).
This can be used if you have control over the global site-packages directory, and you want to depend on the packages there. If you want isolation from the global system, do not use this flag.
根据^{} Docs :
看一下 system-site-packages选项,它允许访问虚拟环境的全局站点包模块。你知道吗
希望有帮助。你知道吗
相关问题 更多 >
编程相关推荐