Solved

Hands on with Data Science Course issue with Google Colab

  • 4 January 2023
  • 4 replies
  • 70 views

Userlevel 2
Badge

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...

icon

Best answer by Eniko Farkas 5 January 2023, 08:45

View original

4 replies

Userlevel 4

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.

Userlevel 2
Badge

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

Userlevel 4

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

Userlevel 4
Badge +5

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

Reply