Can anyone help me with the location and command of entering the homeassistant virtual environment?
In the past it was something like /srv/homeassistant but I believe that was prior to homeassistant becoming a dietpi-service.
Anyway I’d like to update the pip module, (says I’m running version 10 instead of version 19), when I updated from the main shell login as root, the update went fine, but when I did pip freeze I noticed that HA must be running in a virtual environment because none of my dependencies showed up and I was still getting the same error when trying to add a new module in HA.
my issue was that I needed to install pybluez into the pyenv that my homeassistant was running on. Following your advice I was able to solve the problem with the following steps -