Using sudo inside venv

Is python3 referring to the same executable in both cases? (Try which python3 and sudo which python3) Probably not, since it’s a venv — you’ll need to call that one directly.

1 Like