Quantcast
Viewing all articles
Browse latest Browse all 4990

Beginners • Re: Cannot find RPi in systemd but finds it in ssh

While this command works in the ssh:
Code: Select all

(.venv) randy@raspberrypi: $ python3 /home/randy/Documents/GitHub/smrtpype-sensor-sampler/sensor.py
Thank you for your help on this
!
So what that seems to imply is that you did not develop it in a Python Virtual Environment (VENV) so all of the modules you loaded were in your user environment.

I have to ask why you thought you had to run it referencing a Python VENV environment in your SYSTEMD service?

Statistics: Posted by DS256 — Thu Dec 26, 2024 11:52 pm



Viewing all articles
Browse latest Browse all 4990

Trending Articles