Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Troubleshooting • Re: Auto starting a file on startup

$
0
0
I would like a .py file to execute on start up.

I have tried the methods outlined in this link but the file still does not start on startup

https://www.dexterindustries.com/howto/ ... t-startup/
Well, that's part of what I asked for but it still isn't enough.

You need to tell us the following:
  • The error message(s) being thrown. If you don't know how to get them see the troubleshooting advice in my guide.
  • Exactly what you put in which files for each method you have tried.
  • Whether your python program needs modules outside of the standard library (i.e. modules you had to install) and if so how you installed them and whether you used a venv or not. (Note "with pip" or similar is not a useful answer. Tell us the exact commands you entered.)
  • Why you think it isn't running.
  • Whether it shows in the output of the following command:

    Code:

    ps aux|grep python
As for that link, like many others it's light on details, has no troubleshooting advice, misses some options, and doesn't tell you which OS release it was written for (or when it was written).

Statistics: Posted by thagrol — Thu Feb 01, 2024 1:55 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles