It's only 2 months I am working with raspberry pi.
I am Trying to run my python file at startup, library and modules are installed in venv.
My code is in home/admin/Downloads/code_dump
and venv is in the same path home/admin/Downloads/code_dump
So far I have tried this
created a launch.sh file on Desktop
launch.sh ->
SHELL=venv/bin/bash
cd ../Downloads/code_dump && . venv/bin/activate && python Suraksha.py
Getting error mediapipe not found, they are installed in virtual if I run venv manually then I is working fine.
My main aim is to run this python file on startup.
I am Trying to run my python file at startup, library and modules are installed in venv.
My code is in home/admin/Downloads/code_dump
and venv is in the same path home/admin/Downloads/code_dump
So far I have tried this
created a launch.sh file on Desktop
launch.sh ->
SHELL=venv/bin/bash
cd ../Downloads/code_dump && . venv/bin/activate && python Suraksha.py
Getting error mediapipe not found, they are installed in virtual if I run venv manually then I is working fine.
My main aim is to run this python file on startup.
Statistics: Posted by devbhanu19 — Sat Mar 02, 2024 5:13 am