-
-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'get_cmap' from 'matplotlib.cm' #234
Comments
Update: It works for |
Hi @realchandan thank you for reporting this! I'll address the compatibility issue for the next release |
I tried 3.8 and that doesn't seem to work. I noticed the traditional cmap functionality works until 3.5.0, I see a deprecation notice in the 3.6.0 release. |
After some digging, it looks like this is coming from |
I just merged this fix as part of PR #237. Until v0.10 is released, this problem can be solved by installing matplotlib 3.5.x as mentioned above |
Everytime I try to run
diart.stream -h
I get
ImportError: cannot import name 'get_cmap' from 'matplotlib.cm'
Which is coming from
pyannote/core/notebook.py, line 129
I tried installing without conda, with conda and even building docker image from the Dockerfile here
But I still get
ImportError: cannot import name 'get_cmap' from 'matplotlib.cm' (/opt/venv/lib/python3.11/site-packages/matplotlib/cm.py)
I think some recent dependency change broke this whole thing.
The text was updated successfully, but these errors were encountered: