Missing package ebrains-kg-core in fairgraph
Jupyter-kernel: 25.02 as well as Experimental kernel at JSC
How to reproduce:
from fairgraph import KGClient
token = clb_oauth.get_token()
client = KGClient(token=token, host = "core.kg.ebrains.eu")
Traceback/logs:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[2], line 2
1 token = clb_oauth.get_token()
----> 2 client = KGClient(token=token, host = "core.kg.ebrains.eu")
File /srv/main-spack-instance-2502/ebrains-spack-builds/vendor/spack/var/spack/environments/ebrains-25-02/.spack-env/view/lib/python3.11/site-packages/fairgraph/client.py:107, in KGClient.__init__(self, token, host, client_id, client_secret, allow_interactive)
98 def __init__(
99 self,
100 token: Optional[str] = None,
(...)
104 allow_interactive = True
105 ):
106 if not have_kg_core:
--> 107 raise ImportError(
108 "Please install the ebrains-kg-core package"
109 )
110 if client_id and client_secret:
111 self._kg_client_builder = kg(host).with_credentials(client_id, client_secret)
ImportError: Please install the ebrains-kg-core package
Edited by krishna kant singh