ESP32-MicroPython-BME280-MQTT-Sample icon indicating copy to clipboard operation
ESP32-MicroPython-BME280-MQTT-Sample copied to clipboard

getting error: 'module' object has no attribute MQTTClient

Open juanfgs opened this issue 8 years ago • 2 comments

I'm trying to run the umqtt client on an ESP32 (full name ESP-WROOM-32). I'm flashing the firmware with the firmware: http://micropython.org/resources/firmware/esp32-20171226-v1.9.3-217-g5de064fb.bin

And I'm getting the following error

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "mqtt_start.py", line 6, in <module>
  File "/lib/umqtt/robust.py", line 4, in <module>
AttributeError: 'module' object has no attribute 'MQTTClient'

Could you please shed some light on what's going on here? I only removed the references to BME (since I'm not using that) but even running the original it doesn't work. It just fails with that error.

juanfgs avatar Dec 26 '17 23:12 juanfgs

Same issue here....:(

PsychoAndi avatar Feb 24 '18 18:02 PsychoAndi

Same error message here using a wemos lolin32.

BoShek76 avatar Apr 04 '18 07:04 BoShek76