I need to run a python script as sudo inside a virtualenv. However, running sudo python will run the global python interpreter and not the one from the virtualenv.
Is there a way to do that?
I need to run a python script as sudo inside a virtualenv. However, running sudo python will run the global python interpreter and not the one from the virtualenv.
Is there a way to do that?