derenback / Domoticz-SMA-Inverter

A Domoticz plugin for SMA solar inverters
GNU General Public License v3.0
2 stars 1 forks source link

Pi OS 2023.10 install error #24

Closed Imwithstupid007 closed 1 year ago

Imwithstupid007 commented 1 year ago

Hi,

With the latest release of Pi OS (2023.10) your installation routine gives an error on: sudo pip3 install -U pymodbus pymodbusTCP

I'm no Linux expert and don't know the reason but Jeff Geerling gave an work around (https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3). Which seems to work BTW.

Thank for your great plugin.

derenback commented 1 year ago

@Imwithstupid007 Thank you for the information! I tried it bu upgrading a pi to 2023.10 and got the same issue. Used the quick way and deleted the blocking message... sudo rm -rf /usr/lib/python3.11/EXTERNALLY-MANAGED After this it was ok to install.

Not sure if it would be possible to solve in a better way with a virtual environment for Domoticz.