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

Python • Re: Activating a venv at boot time

$
0
0
I think you should change the way you've scripted your bash file

Code:

. <venvname>/bin/activate
The above line works for me, provided you put the name of the venv where the <venvname> is


To test if it works, it should be run as

Code:

. <filename>.sh
Note on each instances there is a period, followed by a space before "<"

Statistics: Posted by RaspyHat — Sat Feb 15, 2025 11:44 am



Viewing all articles
Browse latest Browse all 8037

Trending Articles