aparnadeepak101
aparnadeepak101

Reputation: 19

'import intake' in google colab generates ContextualVersionConflict

!pip install intake-esm 

install the latest version of intake-esm (2020.12.18) in google colab

but the import intake statement generates the following error:

ContextualVersionConflict: (requests 2.23.0 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('requests>=2.24.0'), {'intake-esm'})

could anybody please tell me what is going wrong or how to fix this?

Upvotes: 0

Views: 278

Answers (1)

ashraful16
ashraful16

Reputation: 2782

At first install intake-esm

!pip install intake-esm

Then install astropy >= 3.1 and sunpy

!pip install astropy>=3.1
!pip install sunpy

Finally, import intake

import intake

Following this, I can import intake.

Upvotes: 1

Related Questions