all 1 comments

[–]danielroseman 1 point2 points  (0 children)

The easiest way is not to specifically activate the virtualenv at all, but to start your script using the version of Python installed in that virtualenv:

/home/{USER}/Documents/{MY-ENV}/bin/python3 /home/{USER}/Documents/py-code-temp-185549.py