thingsboard / thingsboard-python-rest-client

ThingsBoard REST API client
https://thingsboard.io/docs/reference/python-rest-client/
Apache License 2.0
77 stars 51 forks source link

Unable to upgrade to Python rest client 3.7.0 "Failed building wheel for tb-rest-client" #167

Open SusannaAita opened 2 weeks ago

SusannaAita commented 2 weeks ago

Hello,

I am trying to upgrade Python rest client to the newer version 3.7.0.

I am receiving this error after running the command "pip3 install tb-rest-client -U".

Any help?

Thank you!

error: could not create 'build\bdist.win-amd64\wheel.\tb_rest_client\models\models_ce\entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py': No such file or directory [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tb-rest-client Failed to build tb-rest-client ERROR: Could not build wheels for tb-rest-client, which is required to install pyproject.toml-based projects

ysfAskri commented 9 hours ago

Hello I'm facing the same issue as mentioned in the previous comment with the newer version 3.7.0: ` copying build\lib\tb_rest_client\models\models_ce\entity_relation_info.py -> build\bdist.win-amd64\wheel.\tb_rest_client\models\models_ce copying build\lib\tb_rest_client\models\models_ce\entity_subtype.py -> build\bdist.win-amd64\wheel.\tb_rest_client\models\models_ce copying build\lib\tb_rest_client\models\models_ce\entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py -> build\bdist.win-amd64\wheel.\tb_rest_client\models\models_ce error: could not create 'build\bdist.win-amd64\wheel.\tb_rest_client\models\models_ce\entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py': No such file or directory [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for tb-rest-client Running setup.py clean for tb-rest-client Failed to build tb-rest-client ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tb-rest-client) (tb_env) PS C:\Users\a909926\IdeaProjects\nocode-ui\backend>

`