Hi I have a script that depends on being in a virtual environment to run. nokey2.py I load up the virtual environment on my Rpi 3 using
source ~/.profile workon cv then run my script python nokey2.py This all works brilliantly. What I would like to be able to do is to run nokey.py automatically when the pi has booted. how can I do this I have tried editing sudo nano /etc/rc.local /home/pi/PiBits/ServoBlaster/user/./servod source /home/pi/PiBits/ServoBlaster/user/.profile workon cv python /home/pi/nokey2.py & exit(0) and that dose nothing. any thoughts or pointers would be good Cheers Rob -- You received this message because you are subscribed to the Google Groups "virtualenv" group. To unsubscribe from this group and stop receiving emails from it, send an email to python-virtualenv+unsubscr...@googlegroups.com. To post to this group, send email to python-virtualenv@googlegroups.com. Visit this group at https://groups.google.com/group/python-virtualenv. For more options, visit https://groups.google.com/d/optout.