Skip to main content
Chris Selph
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
January 4, 2023
Solved

Hands on with Data Science Course issue with Google Colab

  • January 4, 2023
  • 4 replies
  • 84 views

Hands on with Data Science > Data Processing and Exploratory Data Analysis > Google Colab notebook called Data processing and analysis for IDA course.ipynb has issues in the Setup code block. 

 

Here is partial output log:

...Installing collected packages: PyJWT, protobuf, cryptography, msal, cognite-sdk Attempting uninstall: protobuf Found existing installation: protobuf 3.19.6 Uninstalling protobuf-3.19.6: Successfully uninstalled protobuf-3.19.6 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. tensorflow 2.9.2 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.21.12 which is incompatible. tensorflow-metadata 1.12.0 requires protobuf<4,>=3.13, but you have protobuf 4.21.12 which is incompatible. tensorboard 2.9.1 requires protobuf<3.20,>=3.9.2, but you have protobuf 4.21.12 which is incompatible. Successfully installed PyJWT-2.6.0 cognite-sdk-5.0.2 cryptography-39.0.0 msal-1.20.0 protobuf-4.21.12...

    Best answer by Eniko Farkas

    Hi @Chris Selph , thank you for letting us know. We will look into.

    If you’d like to explore the Cognite Python SDK, I recommend the following course: Learn to Use the Cognite Python SDK. It’s part of the Data Scientist Basics learning path where you can learn about the API, Cognite Charts, and Cognite Functions, and connect CDF to Grafana and Power BI.

    4 replies

    Cognite Academy Instructor
    January 5, 2023

    Hi @Chris Selph , thank you for letting us know. We will look into.

    If you’d like to explore the Cognite Python SDK, I recommend the following course: Learn to Use the Cognite Python SDK. It’s part of the Data Scientist Basics learning path where you can learn about the API, Cognite Charts, and Cognite Functions, and connect CDF to Grafana and Power BI.

    Enikő from Cognite Academy
    Chris Selph
    Practitioner ⭐️⭐️⭐️
    Practitioner ⭐️⭐️⭐️
    January 5, 2023

    thanks @Eniko Farkas. Do you think Cognite will fix this course issue?

    Cognite Academy Instructor
    January 5, 2023

    Hi @Chris Selph , yes, our instructors are checking this. We will let you know in this thread when it’s fixed.

    Enikő from Cognite Academy
    Madina Kholmatova
    Expert ⭐️⭐️⭐️⭐️
    Cognite Academy Instructor
    January 17, 2023

    Hi @Chris Selph

    The underlying issue was with Google collab, and our Support team is investigating this. But, the notebook code is executed successfully using the Jupiter notebook. I’d encourage you to install Python IDE (for example Anaconda) and run the notebook. We have updated the course instructions accordingly. 

    Best regards,
    Madina