Closed Michael-Geuenich closed 2 days ago
I'm getting this same error
ile ~/.local/lib/python3.10/site-packages/spatialdata_plot/pl/render.py:21 19 from scanpy._settings import settings as sc_settings 20 from spatialdata._core.data_extent import get_extent ---> 21 from spatialdata.models import PointsModel, get_table_keys 22 from spatialdata.transformations import ( 23 get_transformation, 24 ) 26 from spatialdata_plot._logging import logger
ImportError: cannot import name 'get_table_keys' from 'spatialdata.models' (/home/asmilags/.local/lib/python3.10/site-packages/spatialdata/models/init.py)
There was a problem in the installation script, where no minimum spatialdata version was required, while get_table_keys
has been introduced only from a more recent spatialdata
release. I have fixed this now and made a fresh release.
I'll close the issue as it should now be fixed by running pip install spatialdata spatialdata-io spatialdata-plot napari-spatialdata
. Feel free to reopen if the problem persists.
I get the following error when trying to import spatialdata_plot with the latest version of spatialdata-plot:
This is fixed if I downgrade to version 0.1.0