python - Compatible libraries for ThingsBoard REST API - Stack Overflow

We have a ThingsBoard system installed, and we are currently programming a python script that uses the

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743777592a4505517.html

相关推荐

  • python - Compatible libraries for ThingsBoard REST API - Stack Overflow

    We have a ThingsBoard system installed, and we are currently programming a python script that uses the

    7天前
    70

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信