hello Adafruit peeps - a noob looking for some help.
First off, I'm loving the Learn guides, really well done.
I'm running into an issue i cannot find a solution for - I'm trying to use the basic MQTT project guide with a Metro M4 Airlift Lite - following the online guide, running the latest CircuitPython 7.x version and trying to load the basic Project Bundle - upon save/load the serial monitor reports out the following error
Traceback (most recent call last):
File "code.py", line 4, in <module>
ImportError: no module named 'ssl'
I've copied over all the files that i can see included in the download project??? please help a noob by pointing out what i'm doing wrong - much appreciated....
Thanks M
Metro M4 Airlift Lite and MQTT project bundle
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Martinsoanes
- Posts: 2
- Joined: Sun Sep 26, 2021 6:10 pm
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Metro M4 Airlift Lite and MQTT project bundle
Which guide did you follow and what code did you try to run? Did you load the correct uf2 file and python for V7?
- Martinsoanes
- Posts: 2
- Joined: Sun Sep 26, 2021 6:10 pm
Re: Metro M4 Airlift Lite and MQTT project bundle
thanks - i hope i used the correct references
I first updated the Metro m4 airlift lite from link on this page:
https://learn.adafruit.com/adafruit-met ... bootloader that took me here
https://circuitpython.org/board/metro_m4_airlift_lite/
once the latest uf2 was running ok, I initially tested with a basic internet test which worked fine.
Then followed the mqtt example here: https://learn.adafruit.com/mqtt-in-circ ... qtt-broker
thats when it said error regarding the import of ssl??
I first updated the Metro m4 airlift lite from link on this page:
https://learn.adafruit.com/adafruit-met ... bootloader that took me here
https://circuitpython.org/board/metro_m4_airlift_lite/
once the latest uf2 was running ok, I initially tested with a basic internet test which worked fine.
Then followed the mqtt example here: https://learn.adafruit.com/mqtt-in-circ ... qtt-broker
thats when it said error regarding the import of ssl??
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Metro M4 Airlift Lite and MQTT project bundle
Are you sure you used the airlift code and no the esp32-s2? Post your code if you did.
Please be positive and constructive with your questions and comments.