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
Hi,
sorry for my inexperience but I can't connect to the Cognite Data Platform although the colab workshop is supposed to be an step by step guided file.
I would appreciate a lot if someone can help me going through this step (btw I did fix the cognite.client import issue as explained here)
When I run this code and enter my API Key (which is working elsewhere):
client = CogniteClient(api_key=getpass("Open Industrial Data API-KEY: "))
The output is:
Open Industrial Data API-KEY: ··········
ValueError Traceback (most recent call last)
in ()
----> 1 client = CogniteClient(api_key=getpass("Open Industrial Data API-KEY: "))
/usr/local/lib/python3.6/dist-packages/cognite/client/utils/_client_config.py in init(self, api_key, project, client_name, base_url, max_workers, headers, timeout, debug)
79 if self.client_name is None:
80 raise ValueError(
---> 81 "No client name has been specified. Pass it to the CogniteClient or set the environment variable "
82 "'COGNITE_CLIENT_NAME'."
83 )
ValueError: No client name has been specified. Pass it to the CogniteClient or set the environment variable 'COGNITE_CLIENT_NAME'.
The text was updated successfully, but these errors were encountered:
Hi,
sorry for my inexperience but I can't connect to the Cognite Data Platform although the colab workshop is supposed to be an step by step guided file.
I would appreciate a lot if someone can help me going through this step (btw I did fix the cognite.client import issue as explained here)
When I run this code and enter my API Key (which is working elsewhere):
client = CogniteClient(api_key=getpass("Open Industrial Data API-KEY: "))
The output is:
Open Industrial Data API-KEY: ··········
ValueError Traceback (most recent call last)
in ()
----> 1 client = CogniteClient(api_key=getpass("Open Industrial Data API-KEY: "))
1 frames
/usr/local/lib/python3.6/dist-packages/cognite/client/_cognite_client.py in init(self, api_key, project, client_name, base_url, max_workers, headers, timeout, debug)
55 headers=headers,
56 timeout=timeout,
---> 57 debug=debug,
58 )
59 self.login = LoginAPI(self._config, cognite_client=self)
/usr/local/lib/python3.6/dist-packages/cognite/client/utils/_client_config.py in init(self, api_key, project, client_name, base_url, max_workers, headers, timeout, debug)
79 if self.client_name is None:
80 raise ValueError(
---> 81 "No client name has been specified. Pass it to the CogniteClient or set the environment variable "
82 "'COGNITE_CLIENT_NAME'."
83 )
ValueError: No client name has been specified. Pass it to the CogniteClient or set the environment variable 'COGNITE_CLIENT_NAME'.
The text was updated successfully, but these errors were encountered: