thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols

Home Page:https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[HELP] Ubuntu 24.04 LTS installation

cos-gl opened this issue · comments

Describe the issue
Trying to install deb package following instruction, raise an error about python3-cryptography package: needed pack version < 3.5 but system default is 41.0.7 in Ubuntu 24.04 LTS

Thanks for your help!

Configuration Non relevant

Error traceback:

The following packages have unmet dependencies:
 python3-thingsboard-gateway : 
(...)
                               Depends: python3-cryptography (< 3.5) but 41.0.7-4build3 is to be installed
(...)

Versions:

  • OS: Ubuntu 24.04 (noble)
  • Thingsboard IoT Gateway version: 3.4.6
  • Python version: 3.12
  • Python3-cryptography: 41.0.7-4build3

Just to add some hints to someone how can put hands on...

The requirements.txt file seems that have been changed to exclude the python3-cryptograpy version check, al least this is what I understand looking here: cb92f04
(last commit one month ago)

But the setup.py file, was not changed and continues to check for the package from version 3.4. to 3.5.

'cryptography==3.4.*',

(last commit 3 months ago)

Do I understand right? Is it possible to fix?
The installation using the .deb file off course doesn't work.
Thanks again!

Hi, no help for me? @samson0v @imbeacon
After a month I see the same problem and I'm in doubt which is the correct way to install TB Gateway (off course, without using docker). Thanks!

commented

The dependency problem seems solved with the latest release of gateway: 3.5.1-1