-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Python 3.5.2 crashes when launching matplotlib 1.5.1 #7041
Comments
I would guess this is most likely related to the GUI framework that matplotlib is using. I would think this is PyQT4 per default on Windows. What happens if you execute something like
|
I am able to execute the line you wrote (matplotlib issue still persists). Interestingly, when I try to launch Spyder, that also comes up with the same crash, so clearly something GUI-related is the issue. |
That line is only the first part of the QT import (on PyQt4) so it's most likely something that happens later |
Does this only happen in spyder, the notebook, in an python prompt or in an IPython prompt? If you do
does that work? |
The issue happens everywhere -- command line, Python prompt, and IPython prompt. I can't even load Spyder though. I created the virtual environment per your instructions and ran it exactly and came to the same issue. I created a virtual environment for Python 2 as well and the issue remains upon generation of a matplotlib figure. |
|
You could try posting to the Anaconda support mailing list; someone there might have more ideas. |
I am running Python 3.5.2 via 64-bit Anaconda on Windows 10. All packages have been updated using
conda update --all
. Anytime I try to make a plot via matplotlib 1.5.1, I get an error identical to the one here that simply says "Python has stopped working" with no other information. I tried uninstalling Anaconda and reinstalling it to no avail. The issue does not occur for .py files without matplotlib. This issue seems to have started today for me.Running the following replicates the issue:
import matplotlib.pyplot as plt
plt.plot([1,2,3],[4,1,2])
The text was updated successfully, but these errors were encountered: