I’m a newbie to GeoViews and decided to try out the Airport Graph example notebook. However, when I try to import geoviews I get an error:
❯ python3
Python 3.11.4 (main, Jul 5 2023, 08:41:25) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import geoviews
Traceback (most recent call last): File "<stdin>", line 1, in <module>
File "/Users/mathomp4/installed/Core/GEOSpyD/23.5.2-0_py3.11/2023-07-17/lib/python3.11/site-packages/geoviews/__init__.py", line 13, in <module>
from .annotators import annotate # noqa (API import)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mathomp4/installed/Core/GEOSpyD/23.5.2-0_py3.11/2023-07-17/lib/python3.11/site-packages/geoviews/annotators.py", line 14, in <module>
from .links import VertexTableLink, PointTableLink, HvRectanglesTableLink, RectanglesTableLink
File "/Users/mathomp4/installed/Core/GEOSpyD/23.5.2-0_py3.11/2023-07-17/lib/python3.11/site-packages/geoviews/links.py", line 4, in <module>
from holoviews.plotting.bokeh.callbacks import (
ImportError: cannot import name 'LinkCallback' from 'holoviews.plotting.bokeh.callbacks' (/Users/mathomp4/installed/Core/GEOSpyD/23.5.2-0_py3.11/2023-07-17/lib/python3.11/site-packages/holoviews/plotting/bokeh/callbacks.py)
I’m not sure what I did wrong. In my stack I have: