-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Problem with importing matplotlib.animation #5347
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
This looks like it is dying trying to reach out to check if an external command line tool exists. Your OSX is also pretty old (4years), I wonder if we are running into issues with changes to the OS? |
Can you try putting the following in a Python script and see if it works? It might raise an exception, but it shouldn't hang.
If that fails for you, then it's a problem in Python itself, not matplotlib, and you should report to Anaconda. |
I tested the above suggested code for a few minutes and it too seems to hang on the latest Anaconda versions. I will open a bug report with them and link it to this page. Thank you for your help! PS: Yes my OS X is ancient but this close to the end of my thesis I just don't dare to mess with it! |
You're welcome. I'm closing this just to keep things neat. |
Hi all,
I have been having issues with importing matplotlib.animation. In either python or ipython calling the following command hangs forever:
Import matplotlib, from matplotlib import pyplot etc work fine but obviously do not let me access animation. Upon a cntrl+c I receive the following error messages:
Build Info:
OS: Mac OS X Lion 10.7.5
Anaconda Version: Original version I had this issue on is unknown but problem persisted on a new install of latest Anaconda python 2.7 and python 3 versions (Anaconda-2.3.0-MacOSX-x86_64.pkg and Anaconda3-2.3.0-MacOSX-x86_64.pkg from https://www.continuum.io/downloads. )
I also reproduced the issue on a separate mac book using a identical new build.
I cannot find any information online about this issue other than a similar problem with importing matplotlib.pyplot. #2919. I tried the steps suggested on the off chance that they would help but they had no effect.
Upon trialing the import on several colleagues Mac books I found that only those running an older version of Anaconda had no issue. Downgrading my machine to Anaconda 2.0.1. (Python 2.7.7 | Anaconda 2.0.1 (x86_64) | (default, Jun 2 2014, 12:48:16) seems to fix the issue.
Apologies if this is the wrong place to post this or if the bug turns out to be in Anaconda or a unique issue with my build / laptop!
The text was updated successfully, but these errors were encountered: