-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[Bug]: AttributeError while trying to import matplotlib.pyplot #27289
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
AttributeError
while trying to import matplotlib.pyplot
AttributeError
while trying to import matplotlib.pyplot
This is an alternate presentation of #26827, just with mpl 3.6 installed rather than mpl 3.5 (and thus a different exception, which the initial band-aid fix doesn't catch). The short version is that you have a state where two incompatible versions of mpl are installed and it is selecting the wrong one for 3D support. See the other thread for more details I'm going to close this as a duplicate so that we keep the conversation in one place, but feel free to add some context over there. |
This is also exacerbated by the fact that Debian's non-default Python is completely busted. They have patched distro search paths to |
Needed for the same reasons as matplotlib#27178 (Namely that we should not be failing on import just because mpl_toolkits is broken), but mpl 3.6 presents with an AttributeError rather than ImportError See discussion in matplotlib#26827 and matplotlib#27289 Just expanded liberally in case there are other presentations we have not seen
Needed for the same reasons as matplotlib#27178 (Namely that we should not be failing on import just because mpl_toolkits is broken), but mpl 3.6 presents with an AttributeError rather than ImportError See discussion in matplotlib#26827 and matplotlib#27289 Just expanded liberally in case there are other presentations we have not seen
Bug summary
AttributeError
while trying to importmatplotlib.pyplot
.Code for reproduction
Actual outcome
Expected outcome
Additional information
No response
Operating system
Ubuntu 22.04
Matplotlib Version
3.8.1
Matplotlib Backend
No response
Python version
3.11.6
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered: