Skip to content

Import Error: no module named 'adafruit minimqtt.MQTT' #22

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

Closed
Peter-McKinney opened this issue Dec 20, 2020 · 3 comments
Closed

Import Error: no module named 'adafruit minimqtt.MQTT' #22

Peter-McKinney opened this issue Dec 20, 2020 · 3 comments
Assignees

Comments

@Peter-McKinney
Copy link

Peter-McKinney commented Dec 20, 2020

The import adafruit_azuireiot statement throws an error from the 6.x adafruit library bundle.

from adafruit_azureiot import IoTHubDevice

It looks like MiniMQTT is already aware of this issue but this issue was never opened on this repository.

MiniMQTT Issue 51
Link to referenced comment

I believe this is the import that is affected in the iot_mqtt.py. iot_mqtt.py

Please let me know if you need further information.

@askpatrickw
Copy link
Contributor

There are several things needed for CP6 support see Issue #21 for more info as well.

@brentru
Copy link
Member

brentru commented Dec 21, 2020

@Peter-McKinney The last thing on the list @askpatrickw linked above is a large update to MiniMQT. I'm currently blocking on a socket API issue adafruit/circuitpython#3836 and will continue with MiniMQTT development once it's resolved.

I'll take a look back at this issue once I release the next major version of MMQTT since it's required for this library to work properly with CP6.

@brentru
Copy link
Member

brentru commented Jan 5, 2021

This has been resolved by #23 and has been merged into master.

@brentru brentru closed this as completed Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants