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

Python • Re: Activating a venv at boot time

$
0
0
You didn't indicate which utility you are using to try and run your Python at boot. Here's an example for SYSTEMD which has the execution string you likely need https://gist.github.com/dunkelstern/5bf ... 4c78fd2543

Code:

/home/user/.virtualenvs/pythonapp/bin/python /home/user/pythonapp/start.py

Statistics: Posted by DS256 — Sat Feb 15, 2025 1:07 am



Viewing all articles
Browse latest Browse all 7742

Latest Images

Trending Articles



Latest Images