You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception Traceback (most recent call last)
Cell In[5], line 3
1 import cdsapi
----> 3 c = cdsapi.Client(config)
File ~\anaconda3\lib\site-packages\cdsapi\api.py:304, in Client.init(self, url, key, quiet, debug, verify, timeout, progress, full_stack, delete, retry_max, sleep_max, wait_until_complete, info_callback, warning_callback, error_callback, debug_callback, metadata, forget, session)
301 verify = bool(int(config.get("verify", 1)))
303 if url is None or key is None or key is None:
--> 304 raise Exception("Missing/incomplete configuration file: %s" % (dotrc))
306 # If verify is still None, then we set to default value of True
307 if verify is None:
Anytime ii run this code the code below
import cdsapi
c = cdsapi.Client(config)
i get this error
Exception Traceback (most recent call last)
Cell In[5], line 3
1 import cdsapi
----> 3 c = cdsapi.Client(config)
File ~\anaconda3\lib\site-packages\cdsapi\api.py:304, in Client.init(self, url, key, quiet, debug, verify, timeout, progress, full_stack, delete, retry_max, sleep_max, wait_until_complete, info_callback, warning_callback, error_callback, debug_callback, metadata, forget, session)
301 verify = bool(int(config.get("verify", 1)))
303 if url is None or key is None or key is None:
--> 304 raise Exception("Missing/incomplete configuration file: %s" % (dotrc))
306 # If verify is still None, then we set to default value of True
307 if verify is None:
Exception: Missing/incomplete configuration file: C:\Users\afris/.cdsapirc
The text was updated successfully, but these errors were encountered: