Now refuses install pillow in “root” ask to create virtual environment anyone up to speed how to?
Maybe start by making sentences and provide context.
We have no idea what you are talking about…
Sorry for being unclear. I’m using various displays in esp32 nodes after HA update the compiler asked for “pip install pillow” this was ok until my last HA update where the warning below appears and ota update is not working. My question is how to resolve this as I’m more of a hw guy and not up to speed with python.
➜ /config pip install pillow">4.0.0,<10.1.0"
Requirement already satisfied: pillow<10.1.0,>4.0.0 in /usr/local/lib/python3.11/dist-packages (10.0.1)
WARNING: Running pip as the ‘root’ user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: 12. Virtual Environments and Packages — Python 3.12.1 documentation
➜ /config
Where do you see that? How to you run ESPHome?
Please post the full log where it appears
That installs it in HA. I assume the error appear in ESPHome so that is definitely not the solution
Running OTA from Studio code server gives message “update pillow”
as I’m using a ttf font for a matrix dispaly.
Opening a terminal in Studio code server and issuing pip install cmd gives the warning. So you’re right it’s in the esphome environment. Earlier ha updates requested installation of pillow and I did as above with no problem.
Sorry, I have no clue what you’re talking about.
Are you using ESPHome purely from a CLI “somewhere”?
Once again, show the actual error message to provide context…
Likely a Studio Code issue on it’s own, the pure commandline esphome works without throwing such errors.
Tried to compile and flash from the esphome dashboard and it works ok without complaints about virtual installation of pillow package!
So apparently something fishy when running within visual code server, sorry for all the hassel