Dear Colleges,
When I run my python script for downloading ERA5 data, I get the follwong error message:
Traceback (most recent call last):
File “lori_25052024_sf.py”, line 3, in
c = cdsapi.Client()
File “/home/ubuntu/anaconda3/lib/python3.7/site-packages/cdsapi/api.py”, line 284, in new
import cads_api_client.legacy_api_client
File “/home/ubuntu/anaconda3/lib/python3.7/site-packages/cads_api_client/init.py”, line 25, in
from .api_client import ApiClient
File “/home/ubuntu/anaconda3/lib/python3.7/site-packages/cads_api_client/api_client.py”, line 5, in
from typing import Any, Callable, Literal
ImportError: cannot import name ‘Literal’ from ‘typing’ (/home/ubuntu/anaconda3/lib/python3.7/typing.py)
I would much appreciate your help with this.
Kind regards,
Artur