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

Beginners • Re: Systemd Permission Denied on .venv directory

$
0
0
I run my python script without having any shebang line at the start of that script using:

Code:

ExecStart=/home/pi/my_project/env/bin/python /home/pi/my_project/blink.py
I use the full path to the python in the venv - python magically knows to use that venv
This is perfect. Thanks Neil!

Statistics: Posted by bls — Wed Dec 11, 2024 5:10 pm



Viewing all articles
Browse latest Browse all 5666

Trending Articles