0

Im following this tutorial from adafruit

I have tried installing the modules for the code but i keep getting this error back.

Traceback (most recent call last):
  File "<stdin>", line 7, in <module>
  File "/lib/ipaddress.py", line 11, in <module>
ImportError: cannot import name unicode_literals

Any help would be greatly appreciated.

I have tried installing the modules and looking for other people with the same problem.

matt
  • 515,959
  • 87
  • 875
  • 1,141
reet66
  • 3
  • 3
  • 1
    Are you using MicroPython with that tutorial? That will not work, unfortunately - it requires CircuitPython (which is Adafruit's alternative), and the modules used are not compatible. – Andy Piper Nov 25 '22 at 22:34

0 Answers0