dstrigl / HtREST

Heliotherm heat pump REST API server
Other
11 stars 0 forks source link

Problems installing, older libraries required #272

Open iSOcH opened 1 year ago

iSOcH commented 1 year ago

Hi

Thank you very much for providing this tool, greatly appreciated!

I hit some issues when installing HtREST, maybe this helps someone else:

ImportError: cannot import name 'parse_rule' from 'werkzeug.routing' (/home/pi/venv/htrest/lib/python3.9/site-packages/werkzeug/routing/init.py)

Thanks to https://www.loxforum.com/forum/hardware-zubeh%C3%B6r-sensorik/10565-heliotherm-rs232-anbindung?p=382798#post382798:

pip install Werkzeug==2.1.2

ModuleNotFoundError: No module named 'rpds.rpds'

This did not happen on my normal raspbian, but it happened on a more thinned-down OS (openwrt). Found a solution thanks to https://stackoverflow.com/questions/76667202/aws-lambda-function-cant-find-module:

pip install jsonschema==4.17.3

silviuk commented 4 months ago

The fix works, but the mainline is still broken, i.e. trying to deploy latest htrest from source on an up-to-date Python installation still fails