gloveboxes / ESP32-MicroPython-BME280-MQTT-Sample

55 stars 12 forks source link

getting error: 'module' object has no attribute MQTTClient #2

Open juanfgs opened 6 years ago

juanfgs commented 6 years ago

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.

PsychoAndi commented 6 years ago

Same issue here....:(

BoShek76 commented 6 years ago

Same error message here using a wemos lolin32.