admin管理员组文章数量:1345323
We have a ThingsBoard system installed, and we are currently programming a python script that uses the latest REST API, concretely tb-rest-client 3.9.0.
The issue is that we are also using other libraries like pandas and matplotlib. This creates an unsolvable collision with the dateutil library: TB library requires mandatorily the 2.5.3 of dateutil, but pandas 2.2.3 and matplotlib 3.10.1 need a newer version. Downgrading pandas or matplotlib generate more inconsistencies with other libraries like numpy, for example.
I don't understand why the latest tb-rest-client (Jan 2025) is using such an old dateutil version. I haven't found a proper combination that could make a requirements.txt works properly.
I can run the script with the warnings about the incompatible library version, but I need that the requirements.txt file ran clear because the script will go to a dock so we should not do anything out there manually, the libraries have to be installed via the requirements.txt file.
We have tried to make combinations of libraries (pandas, matplotlib, numpy) to get them to work, but with no success. Is there a way to use tb_rest-client 3.9.0 with pandas and matplotlib, so we can get a clean requirements.txt file to get all properly installed?
本文标签: pythonCompatible libraries for ThingsBoard REST APIStack Overflow
版权声明:本文标题:python - Compatible libraries for ThingsBoard REST API - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743777592a2537265.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论