2👍
✅
-
Unless you created the virtualenv with –system-site-packages, packages don’t mix at all. If they did, Virtualenv has priority.
-
If the path doesn’t change, there are chances that you can reuse it. You could make a virtualenv –relocatable if the path changes. But you should make a requirements file and be able to regenerate a fresh virtualenv in one
pip -r req.txt
command. -
If a virtualenv is activated, pip will install in the virtualenv, it has priority.
👤jpic
Source:stackexchange.com