-
Notifications
You must be signed in to change notification settings - Fork 614
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
When importing Scanpy 1.9.1, if you're using matplotlib version below 3.7, you might encounter a metaclass error. #3029
Comments
@ivirshup time to set minimum versions for scanpy? I can help this time, you don’t have to go through this alone again |
How to solve this problem? |
|
My Anaconda prompts that I can't install Scanpy above 1.10 or Matplotlib above 3.8. |
Both are available on conda forge. I might be able to help if you show me
Please format everything as a code block and don’t just paste it into the comment box, see here |
Dear scverse authors (@flying-sheep, @LucaMarconato et al.), because of issues like these, maybe think about a sophisticated staging environment a la Bioconductor to ensure that packages are compatible with each other. If you do a |
What you describe doesn‘t need to happen, and you can fix this!
|
For me, it was a different combination of versions, I guess Scanpy 1.9.8 and matplotlib 3.8 that caused the error. It's not about fixing specific instances but the problem of version mismatches of complex interacting software packages in general. And this has to run in an automated fashion. |
@frederikziebell thanks for the feedback, we will discuss this in the next core meeting. An automated cross-package CI could be a solution. |
Please make sure these conditions are met
What happened?
导入scanpy1.9.1时,matplotlib在3.7版本以下然后发生元类错误
Minimal code sample
Error output
Versions
You can't get to on account of the crash.scanpy.logging.print_versions()
The text was updated successfully, but these errors were encountered: