Help me with this

raw REPL; CTRL-B to exit

OKinf/Connecting to WiFi…/
inf/Wifi connected. IP:192.168.xxx.xxx/
Connecting to blynk.cloud:443…
Traceback (most recent call last):
File “”, line 12, in
File “blynklib_v2.py”, line 214, in init
File “blynklib_v2.py”, line 81, in init
File “blynklib_v2.py”, line 239, in connect
AttributeError: ‘module’ object has no attribute ‘create_default_context’>
I use Yolobit with Blynk to make an IoT system for my own project but it has this error, please helps me!

Not much chance without seeing your code and knowing which version of the Blynk library you’re using.

Pete.

Oh, I’m truly sorry for what I did.
I use Minipython on Ohstem App System to push the code to Yolo:bit but i had this error.
Here is my code:

from wifi_manager import *
import gc; gc.collect()
import blynklib_v2
from yolobit import *
button_a.on_pressed = None
button_b.on_pressed = None
button_a.on_pressed_ab = button_b.on_pressed_ab = -1

if True:
  wifi_manager.connect_wifi('abcd', '123456789')
  blynk = blynklib_v2.Blynk('BLYNK_AUTH')
  @blynk.on("connected")
  def blynk_connected(ping):

    display.set_all('#ff0000')

while True:
  time.sleep_ms(100)

I have no idea what that means, because I don’t use Python and have never heard of Ohstem or Yolo:bit, but the only version of the Blynk Python library that works with Blynk IoT is v1.0.0

This library can be found here:

but not be that there is no bundled release for 1.0.0 you have to manually copy then download the files.
Also note the at the syntax has changed between v0.2.0 and 1.0.0 you should refer to the examples in the link above to understand the new syntax.

Pete.