i got it working
sudo apt install virtualenv python3-virtualenv -y
virtualenv -p /usr/bin/python3 ha_mqtt_discoverable
source ha_mqtt_discoverable/bin/activate
pip3 install ha_mqtt_discoverable
pip3 install rpi.gpio
now how do i get it activated and run a python script from inside the env on boot? assuming it can survive a reboot
sudo apt install virtualenv python3-virtualenv -y
virtualenv -p /usr/bin/python3 ha_mqtt_discoverable
source ha_mqtt_discoverable/bin/activate
pip3 install ha_mqtt_discoverable
pip3 install rpi.gpio
now how do i get it activated and run a python script from inside the env on boot? assuming it can survive a reboot
Statistics: Posted by boelle — Sun Jun 01, 2025 9:38 pm