adafruit / Adafruit_CircuitPython_AzureIoT

Access to Microsoft Azure IoT device, messaging, and job services from CircuitPython!
MIT License
20 stars 15 forks source link

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

Closed Peter-McKinney closed 3 years ago

Peter-McKinney commented 3 years ago

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 commented 3 years ago

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

brentru commented 3 years ago

@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 https://github.com/adafruit/circuitpython/issues/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 commented 3 years ago

This has been resolved by https://github.com/adafruit/Adafruit_CircuitPython_AzureIoT/pull/23 and has been merged into master.