-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have updated the conda environment with the new environment.yml file requirements (which have been updated with dependencies bumps).
When I run snakemake I get the following error:
ImportError in file "/Users/aritz/Documents/github/projects/spras/Snakefile", line 6:
cannot import name '_is_pandas_dataframe' from 'matplotlib.cbook' (/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/cbook/__init__.py)
File "/Users/aritz/Documents/github/projects/spras/Snakefile", line 6, in <module>
File "/Users/aritz/Documents/github/projects/spras/spras/evaluation.py", line 7, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/pyplot.py", line 70, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/figure.py", line 40, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/projections/__init__.py", line 55, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/axes/__init__.py", line 1, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 27, in <module>
File "/opt/miniconda3/envs/spras/lib/python3.11/site-packages/matplotlib/table.py", line 36, in <module>
I think this import error is when pandas is imported in dataset.py (line 5 of the Snakefile). It seems like the updated version of matplotlib has dropped the _is_pandas_dataframe function in matplotlib 3.9. The environment.yml` matplotlib verison is currently 3.10.3, previously it was 3.6, see this commit.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working