Skip to content
Advertisement

from IPython.display import GeoJSON not working on google colab

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.

Advertisement

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

Advertisement