Getting_Started Notebook failing #2455
Replies: 2 comments
|
I dont think you’re not missing anything. It is probably a dependency version conflict caused by newer package versions. Some of the libraries in the notebook expect specific versions, but pip is installing newer ones that don’t match (e.g., opentelemetry, pydantic, huggingface-hub). That’s why the install shows conflicts and cognee fails to import. Do this: Use the exact versions expected by the project. Then run Or: You can Create a fresh virtual environment before installing for best practice with python -m venv venv or venv\Scripts\activate on Windows. |
|
Hey @grafandreas, thanks for raising this! The notebook has been updated, so you won't have these dependency problems anymore. Apologies if this response is a bit delayed. |
Uh oh!
There was an error while loading. Please reload this page.
Dear all,
I was just trying to get the Getting_Started notebook running, but it fails already in the pip installation with
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-adk 1.27.1 requires opentelemetry-api<1.39.0,>=1.36.0, but you have opentelemetry-api 1.39.1 which is incompatible.
google-adk 1.27.1 requires pydantic<3.0.0,>=2.12.0, but you have pydantic 2.11.10 which is incompatible.
opentelemetry-sdk 1.38.0 requires opentelemetry-api==1.38.0, but you have opentelemetry-api 1.39.1 which is incompatible.
opentelemetry-sdk 1.38.0 requires opentelemetry-semantic-conventions==0.59b0, but you have opentelemetry-semantic-conventions 0.60b1 which is incompatible.
transformers 5.0.0 requires huggingface-hub<2.0,>=1.3.0, but you have huggingface-hub 0.36.2 which is incompatible.
and thus the import cognee fails in the 2nd step. Am I missing anything or is it an issue with updated versions?
Thanks,
A.
All reactions