-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Can't import matplotlib, get ImportError #353
Comments
That actually looks like a problem with PIL in your environment. What happens if you run |
Same error in jplerror3
But, I made a new clean env and install pillow only, it don't throw the error by import pil.
the conda list information
===
|
A more clear test case can reproduce this.
It looks like install matplotlib from conda-forge cann't get same pillow from conda-forget since this week. (no error in last week) I am new to python and conda, no sure the root cause |
The conda-forge environment that errors is mixing packages from different channels, which is not a supported configuration. Does it work if you create the environment using only conda-forge:
|
just tried your suggestion
but the pillow is still not from conda-forge
and run import matpoltlib get same error. I doubt it is a cach issue, but get same error in new VM. |
I can't reproduce this on my macOS system, so it's something specific to linux it seems. Some potential things to try:
|
Solution to issue cannot be found in the documentation.
Issue
I am studying python + matplotlib,
Everything was ok on last Monday, but I try to re-run my case today get error.
I can reporduce it by following commands in my ubuntu 20
But, if I remove the -c conda-forge, it works fine
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: