On a Rapsberry PI Zero, I\'m executing the below code in a python script in order to activate the virtual environment (virtualenv):
os.system(\'/bin/bash --rc