Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run when outside project directory? #307

Open
codeclinic opened this issue Jan 22, 2023 · 3 comments
Open

How to run when outside project directory? #307

codeclinic opened this issue Jan 22, 2023 · 3 comments

Comments

@codeclinic
Copy link

codeclinic commented Jan 22, 2023

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
Copy link
Collaborator

BenjiU commented Jan 22, 2023

Please provide more information in your paths. What ist outside? Are you using virtualenv? Would supervisor be a solution for you?

@codeclinic
Copy link
Author

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.

@BenjiU
Copy link
Collaborator

BenjiU commented Jul 21, 2023

Hi @codeclinic,

if this is still relevant, please post your command lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants