-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old paho-mqtt version generates: No module named 'paho.mqtt.enums' #2
Comments
Thanks. Looks I get paho-mqtt 2.0 on my Debian 12 apt-get. I'll add your change to the Dockerfile and make a note that minimum v2.0 of paho-mqtt needed. |
I did further tests with the Debian versions and by default "apt install python3-paho-mqtt " installs the following:
|
I added optional dependency: |
Using the actual Dockerfile to build 0.1.1 is installing paho-mqtt 1.5.0 which does not contain enums.py. and generates the following error:
Removing "apt install python3-paho-mqtt --yes && " and updating "RUN python3 -m pip install paho-mqtt unifi-tracker" will install paho-mqtt 2.1.0 from pip repository which will fix the issue.
The text was updated successfully, but these errors were encountered: