How to run when outside project directory?
codeclinic opened this issue · 3 comments
codeclinic commented
Hi,
How can we run this script from outside the project directory?
I really need to run this automatically at boot via crontab, but I can't figure out the correct command to get this to run unless I'm directly inside the project directory.
No matter what I try it just outputs the following:
/python3: No module named mqtt_io
Thanks.
BenjiU commented
Please provide more information in your paths. What ist outside? Are you using virtualenv? Would supervisor be a solution for you?
codeclinic commented
I'm not using venv or supervisor. Just cloned the project to a local directory and then run the project as described in the readme.
If I navigate to any other directory/folder I am unable to run the script.