MatterVN / ModbusTCP2MQTT

Sungrow & SMA Solar Inverter addon for Home Assistant using mobusTCP
MIT License
69 stars 52 forks source link

Addon doenst intall on HA. WARNING: Running pip as the 'root' user can result in broken permissions... #52

Closed DIYGuy01 closed 2 years ago

DIYGuy01 commented 2 years ago

Installation fails with error image

end of Supervisor logs:

<....>

Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 10.8 MB/s eta 0:00:00
Collecting websocket-client>=1.2.1
  Downloading websocket_client-1.4.1-py3-none-any.whl (55 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.0/55.0 kB 10.6 MB/s eta 0:00:00
Collecting PyYAML
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 13.5 MB/s eta 0:00:00
Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting toml~=0.10.0
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for pycryptodomex, since package 'wheel' is not installed.
Using legacy 'setup.py install' for paho-mqtt, since package 'wheel' is not installed.
Using legacy 'setup.py install' for SungrowModbusWebClient, since package 'wheel' is not installed.
Building wheels for collected packages: PyYAML
  Building wheel for PyYAML (pyproject.toml): started
  Building wheel for PyYAML (pyproject.toml): finished with status 'done'
  Created wheel for PyYAML: filename=PyYAML-5.4.1-cp310-cp310-linux_armv7l.whl size=45657 sha256=411219d9d46e192dd8eef6d00e67d5476725b2be1f9d04d57207c006229745f6
  Stored in directory: /tmp/pip-ephem-wheel-cache-bln7b5l8/wheels/c7/0d/22/696ee92245ad710f506eee79bb05c740d8abccd3ecdb778683
Successfully built PyYAML
Installing collected packages: pyserial, paho-mqtt, websocket-client, urllib3, toml, PyYAML, pymodbus, pycryptodomex, idna, charset-normalizer, certifi, SungrowModbusWebClient, SungrowModbusTcpClient, requests, readsettings
  Running setup.py install for paho-mqtt: started
  Running setup.py install for paho-mqtt: finished with status 'done'
  Running setup.py install for pycryptodomex: started
  Running setup.py install for pycryptodomex: still running...
  Running setup.py install for pycryptodomex: still running...
  Running setup.py install for pycryptodomex: finished with status 'done'
  Running setup.py install for SungrowModbusWebClient: started
  Running setup.py install for SungrowModbusWebClient: finished with status 'done'
Successfully installed PyYAML-5.4.1 SungrowModbusTcpClient-0.1.6 SungrowModbusWebClient-0.3.2 certifi-2022.9.24 charset-normalizer-2.1.1 idna-3.4 paho-mqtt-1.6.1 pycryptodomex-3.11.0 pymodbus-2.4.0 pyserial-3.5 readsettings-3.4.5 requests-2.28.1 toml-0.10.2 urllib3-1.26.12 websocket-client-1.4.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: https://pip.pypa.io/warnings/venv

Removing intermediate container fd315f040121
 ---> d283b20defd2
Step 9/23 : COPY SunGather/ /
 ---> 8c60c83c1846
Step 10/23 : COPY SunGather/exports/ /exports
 ---> 22ae017b0630
Step 11/23 : COPY run.sh /

Home Assistant 2022.10.5 Supervisor 2022.10.0 Operating System 9.3