-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Slower Imports? #3794
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
Not sure what happened. I reinstalled and the issue went away. |
For the record, it may have been that the py files hadn't been compiled, and therefore Python had to do work to create the pyc files each time (especially relevant if you installed to somewhere where you don't normally have write permission). Running a |
Good point. In this case, missing pyc files were not the issue. I had checked that they existed (in the virtualenv within my home directory). The slow times persisted after many consecutive runs as well. This was a pip install -e within the git repo. |
I had the same problem. .pyc files weren't the issue. The solution is documented here: http://stackoverflow.com/questions/26421364/extremely-slow-import-of-matplotlib-afm All it required was deleting |
Done. #4993 |
Previously I was running 1.3.1 and this was a typical load time:
After upgrading to 1.4.2, I'm now getting something like:
Any ideas on why it is so much slower?
The text was updated successfully, but these errors were encountered: