from IPython.display import GeoJSON not working on google colab

Tags: , , , ,



On Google Colab I’m getting an error when trying to import GeoJSON from IPython.display:

enter image description here

Any help on how to properly import it would be appreciated.

Answer

Exactly how to execute in Google Colab:

  1. import IPython
  2. Update IPython
  3. Now able to from IPython.display import GeoJson

enter image description here



Source: stackoverflow