-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
matplotlib import fails #15167
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
Comments
I don't immediately see how this is connected to #15159 This looks closer to a comment in #13673 but I don't understand how they are related yet. I just tried installing py3.7 + mpl3.0.3 with both conda and pip and could not reproduce this (I am on linux and not in pycharm). Can you reproduce this error not in pycharm? |
and can you also try updating to 3.1.1? |
@tacaswell works after restarting pycharm. Sorry to bother you. |
(base) C:\Windows\system32>activate cv (cv) C:\Windows\system32>python
@tacaswell please help this, i have tired lot. |
Looking at the original post again, they report being on mpl 3.0.3, but the line raising was added in 3.1.0. My suspicion is that there are overlapping installations and some files are from one version of mpl and other are from another. It is not surprising that this leads to things not working in really weird ways. @eshwarkamal Can you please open a topic at https://discourse.matplotlib.org/c/community/install/13 ? Make sure to include what OS you are on, how you installed Python, how you installed Maplotlib and the versions of everything. |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug summary
import matplotlib.pyplot
fails with'property' object has no attribute '__name__'
Code for reproduction
import matplotlib.pyplot
Matplotlib version
Installed via conda
stack trace
The text was updated successfully, but these errors were encountered: