ImportError: no module named 'ussl'

In the import and use of the Request library, when I call the get request

response = requests.get(“https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current=temperature_2m,wind_speed_10m&hourly=temperature_2m,relative_humidity_2m,wind_speed_10m”)
print(response.status_code)

I get this error

Traceback (most recent call last):
File “/usr/project.py”, line 138, in
File “/usr/project.py”, line 93, in main
File “request.py”, line 318, in get
File “request.py”, line 190, in request
ImportError: no module named ‘ussl’

Anyone who has dealt with this error before, could you help me?

hi,

Could you tell me what firmware version you are using?

1 Like

This is my firmware version

hi,lgor

I have tested this firmware, which does not support USSL, let me confirm with RD, you can debug other functions first, thank you

Hi,

Do you know which firmware version has access to the ussl service?

hi,lgor

I’m confirming it. I’ll get back to you as soon as possible

1 Like

hi,lgor

EC200AUHA does not support USSL, but EC200AEUHA supports USSL, can you accept using EC200UEUHA to debug first?