I would like to run a shell command using a python virtual environment on a remote server.
(collecting static files for a django project)
However, how do I activate a remote virtual environment in a task?
Best Fen
I would like to run a shell command using a python virtual environment on a remote server.
(collecting static files for a django project)
However, how do I activate a remote virtual environment in a task?
Best Fen
I usually use the python from that venv explicitly in my command, for example:
/opt/venv/bin/python3 /some/script.py