Open henkdebruijn opened 7 years ago
On what version of micropython are you running it and on what device? If I am not mistaken I tested this on 1.8 micropython on a wipy device(on one of the first to be made - kickstarter reward).
I use version 1.8.6 (latest) on an esp8266 board (Feather Huzzah)
Could you try following
import usocket as socket
instead of
import socket
?
I tried, but still same error ;-(
Has it something to do with the type of board I use?
Could be. Here https://forum.micropython.org/viewtopic.php?t=2485 is a very similar issue, maybe you could try committing the last parameter.
Just found the related micropython issue: https://github.com/pycom/pycom-micropython/issues/52
I get the same message: AttributeError: 'module' object has no attribute 'IPPROTO_SEC'
I'm using the "loboris/MicroPython_ESP32_psRAM_LoBo" build
Any way to get this working ? :)
I get the following error:
Traceback (most recent call last):", line 1, in
File "
File "main.py", line 19, in
File "upushover.py", line 27, in sendMessage
AttributeError: 'module' object has no attribute 'IPPROTO_SEC'