Does Unit use python interpreter from venv if venv is already activated? #1158
Unanswered
bunny-therapist
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The docs for python applications say
However, if I have already activated a virtual environment (which sets
VIRTUAL_ENV
and modifiesPATH
), and then run unit withunitd
from the command line, will unit figure out that a virtual environment is active so that it can ignore it, or will unit just findpython
viaPATH
and thus use virtual environment's interpreter, despite what the docs say?I am asking since, based on the docs, that would mean decreased performance (I don't quite understand why, but ok), so that I would have to make sure that no virtual environment is active when unit is launched.
Beta Was this translation helpful? Give feedback.
All reactions