Importing pyplot crashes on macOS due to missing fontlist-v300.json and then Permission denied: '/opt/local/share/fonts' #12291
Labels
Release critical
For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
Bug report
This bug was opened in response to a comment on Bug #12176
When importing pyplot on macOS High Sierra with Python 3.6.5 and matplotlib 3.0.0, fontlist-v300.json cannot be found and at the conclusion of the resulting search, permission is denied via Permission denied: '/opt/local/share/fonts'.
Code for reproduction
Actual outcome
Expected outcome
Expected outcome is for pyplot to be imported successfully
Matplotlib version
print(matplotlib.get_backend())
):matplotlib was installed using pip3.
Running
matplotlib.__version__
outputs '3.0.0'The text was updated successfully, but these errors were encountered: