Skip to content

umqtt cannot import MQTTClient #250

Closed as not planned
Closed as not planned
@DonPavlov

Description

@DonPavlov

Using the latest esp32 micropython build. Dowloaded the latest umqtt with these commands:
upip.install('micropython-umqtt.simple')
upip.install('micropython-umqtt.robust')

But as soon as i want to follow even the simplest of examples and try this:

from umqtt.simple import MQTTClient
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name MQTTClient

but if i put the umqtt.simple lib just onto the main memomry of the esp32

ampy --port COM6 put C:\Users\xxxx\Downloads\simple.py

and use simple.py import MQTTClient it works.
so somehow something seems broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions