Skip to content
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

adafruit_connection_manager is referenced but deprecated. #233

Closed
gowanpeter opened this issue Jan 4, 2025 · 4 comments
Closed

adafruit_connection_manager is referenced but deprecated. #233

gowanpeter opened this issue Jan 4, 2025 · 4 comments

Comments

@gowanpeter
Copy link

I cannot import MiniMQTT:
Traceback (most recent call last):
File "", line 1, in
File "adafruit_minimqtt/adafruit_minimqtt.py", line 37, in
ImportError: no module named 'adafruit_connection_manager'

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Jan 4, 2025

adafruit_connection_manager is not deprecated. This error means that your device doesn't have the library installed. You need to get the library files out of the bundle and copy them to your device. This page details libraries more thoroughly and how to get them installed. https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries

If you are familiar with command line tools like pip or npm there is a similar tool for loading circuitpython libraries onto your device https://github.com/adafruit/circup

@gowanpeter
Copy link
Author

gowanpeter commented Jan 4, 2025

I added the latest version of the library from the latest edition of the bundle. I haven't tried circup. I used the GitHub Development Version

@FoamyGuy
Copy link
Contributor

FoamyGuy commented Jan 4, 2025

Thats fine, circup is totally optional. It's convenient if you already have experience with command line package managers. But you can do everything needed with just standard copy/paste also.

@gowanpeter you need to include both libraries adafruit_minimqtt and adafruit_connection_manager they are two seperate libraries within the bundle and you need to copy both to your device.

Discord in the #help-with-circuitpython channel or the forums is the best place to get support for getting it running rather than here since it's not a bug with the library.

@gowanpeter
Copy link
Author

@FoamyGuy Thanks for the information.

@FoamyGuy FoamyGuy closed this as completed Jan 6, 2025
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

2 participants