[Answered ]-Confused with virtual environments in python django

2👍

  1. Unless you created the virtualenv with –system-site-packages, packages don’t mix at all. If they did, Virtualenv has priority.

  2. 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.

  3. If a virtualenv is activated, pip will install in the virtualenv, it has priority.

👤jpic

Leave a comment