I am having problems with the new download scripts for downloading ERA5. I am getting the following error:
File “ERA5_download.py”, line 44, in
c = cdsapi.Client()
File “/home/anaconda3/lib/python3.7/site-packages/cdsapi/api.py”, line 284, in new
import cads_api_client.legacy_api_client
File “/home/anaconda3/lib/python3.7/site-packages/cads_api_clientcads_api_client/init.py”, line 25, in
from .api_client import ApiClient
File “/home/anaconda3/lib/python3.7/site-packages/cads_api_client/api_client.py”, line 5, in
from typing import Any, Literal
ImportError: cannot import name ‘Literal’ from ‘typing’
Has anyone else experienced this and/or found a solution?
I just copied the download script from the API example on the data I wanted.
Thanks!