<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Looks like a problem with the latest matplotlib 3.0.  I had no problems with 2.2.0, that I had installed a while back, it created the fontlist-v300.json as it should.  But once I updated matplotlib to 3.0 and deleted the fontlist-v300.json, I got the same error.</div><div class=""><br class=""></div><div class="">3.0 in very new, released 7 days ago. 2.2.x is their long term support version.</div><div class=""><br class=""></div><div class="">Try installing a pre-3.0 version.  This should do it (and uninstall 3.0):</div><div class=""><br class=""></div><div class="">sudo pip3 install -U "matplotlib<3.0"</div><div class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 24, 2018, at 10:36 AM, William G. Guthe <<a href="mailto:wguthe@Princeton.EDU" class="">wguthe@Princeton.EDU</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Hi,<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">I have installed QGIS 3.2.3 on an old Mac Pro running El Capitan.  I installed Python 3.6 from<span class="Apple-converted-space"> </span><a href="http://python.org/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">python.org</a>, the GDAL and then QGIS itself.  I used pip3 to install matplotlib, scipy, and numpy.  I’ve also prepended the paths to 3.6/bin and GDAL 2.2.  When I try to load the Semi-Automatic Classification Plugin, I get an error about fontlist-v300.json not being available (which is true, it isn’t there).<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">I just met with a student running High Sierra, who gets a similar error about fontlist-v300.json being absent.  She has followed the directions for installing 3.2.3, set up the paths correctly, and installed the other packages.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">I’m attaching the entire error message, in case there is more in that.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Thanks for any help on this.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Bill Guthe<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Research Computing/OIT<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Princeton University<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Princeton, NJ<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Error message:<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><b class=""><span style="font-size: 11pt;" class="">Couldn't load plugin 'SemiAutomaticClassificationPlugin' due to an error when calling its classFactory() method</span></b><span style="font-size: 11pt;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><b class=""><span style="font-size: 11pt;" class="">OSError: [Errno 62] Too many levels of symbolic links: 'Applications/DivX Player.app/Contents/Frameworks/DPXLibrary.framework/Versions/Current/A'</span></b><span style="font-size: 11pt;" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class="">Traceback (most recent call last):<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1353, in<span class="Apple-converted-space"> </span><br class="">    fontManager = json_load(_fmcache)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 888, in json_load<br class="">    with open(filename, 'r') as fh:<br class="">FileNotFoundError: [Errno 2] No such file or directory: '/Users/wguthe/.matplotlib/fontlist-v300.json'<br class=""><br class="">During handling of the above exception, another exception occurred:<br class=""><br class="">Traceback (most recent call last):<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 337, in startPlugin<br class="">    plugins[packageName] = package.classFactory(iface)<br class="">  File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/__init__.py", line 65, in classFactory<br class="">    from .semiautomaticclassificationplugin import SemiAutomaticClassificationPlugin<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/semiautomaticclassificationplugin.py", line 74, in<span class="Apple-converted-space"> </span><br class="">    from .ui.semiautomaticclassificationplugindialog import SemiAutomaticClassificationPluginDialog<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/semiautomaticclassificationplugindialog.py", line 39, in<span class="Apple-converted-space"> </span><br class="">    from .ui_semiautomaticclassificationplugin_scatter_plot import Ui_ScatterPlot<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/ui_semiautomaticclassificationplugin_scatter_plot.py", line 453, in<span class="Apple-converted-space"> </span><br class="">    from .scatterwidget2 import ScatterWidget2<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/scatterwidget2.py", line 44, in<span class="Apple-converted-space"> </span><br class="">    from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigCanvas<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/backends/__init__.py", line 9, in<span class="Apple-converted-space"> </span><br class="">    from matplotlib.backend_bases import _Backend<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 46, in<span class="Apple-converted-space"> </span><br class="">    from matplotlib import (<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/textpath.py", line 8, in<span class="Apple-converted-space"> </span><br class="">    from matplotlib import cbook, dviread, font_manager, rcParams<br class="">  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br class="">    mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1363, in<span class="Apple-converted-space"> </span><br class="">    _rebuild()<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1344, in _rebuild<br class="">    fontManager = FontManager()<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 978, in __init__<br class="">    ttffiles = findSystemFonts(paths) + findSystemFonts()<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 270, in findSystemFonts<br class="">    fontfiles.update(OSXInstalledFonts(fontext=fontext))<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 218, in OSXInstalledFonts<br class="">    for directory in directories<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 220, in<span class="Apple-converted-space"> </span><br class="">    for path in list_fonts(directory, ext)]<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 157, in list_fonts<br class="">    for path in filter(<a href="http://path.is/" style="color: rgb(149, 79, 114); text-decoration: underline;" class="">Path.is</a>_file, Path(directory).glob("**/*.*"))<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 156, in<span class="Apple-converted-space"> </span><br class="">    return [str(path)<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 1098, in glob<br class="">    for p in selector.select_from(self):<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 559, in _select_from<br class="">    for starting_point in self._iterate_directories(parent_path, is_dir, scandir):<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br class="">    for p in self._iterate_directories(path, is_dir, scandir):<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br class="">    for p in self._iterate_directories(path, is_dir, scandir):<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br class="">    for p in self._iterate_directories(path, is_dir, scandir):<br class="">  [Previous line repeated 3 more times]<br class="">  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 547, in _iterate_directories<br class="">    if entry.is_dir() and not entry.is_symlink():<br class="">OSError: [Errno 62] Too many levels of symbolic links: 'Applications/DivX Player.app/Contents/Frameworks/DPXLibrary.framework/Versions/Current/A'<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><br class=""><b class="">Python version:</b><span class="Apple-converted-space"> </span>3.6.6 (v3.6.6:4cf1f54eb7, Jun 26 2018, 19:50:54) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]<span class="Apple-converted-space"> </span><br class=""><b class="">QGIS version:</b><span class="Apple-converted-space"> </span>3.2.3-Bonn Bonn, exported<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><b class=""><span style="font-size: 11pt;" class="">Python Path:</span></b><span style="font-size: 11pt;" class=""><o:p class=""></o:p></span></div><ul type="disc" style="margin-bottom: 0in; margin-top: 0in;" class=""><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Applications/QGIS3.app/Contents/MacOS/../Resources/python<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages<o:p class=""></o:p></span></li><li class="MsoNormal" style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;"><span style="font-size: 11pt;" class="">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python<o:p class=""></o:p></span></li></ul><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: Calibri;" class=""><span style="font-size: 11pt;" class=""><o:p class=""> </o:p></span></div></div><span style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Qgis-user mailing list</span><br style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><a href="mailto:Qgis-user@lists.osgeo.org" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">Qgis-user@lists.osgeo.org</a><br style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">List info:<span class="Apple-converted-space"> </span></span><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><span style="font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">Unsubscribe:<span class="Apple-converted-space"> </span></span><a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" style="color: rgb(149, 79, 114); text-decoration: underline; font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; font-size: 14px; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div class="">-----</div><div class="">William Kyngesburye <kyngchaos*at*kyngchaos*dot*com></div><div class=""><a href="http://www.kyngchaos.com/" class="">http://www.kyngchaos.com/</a></div><div class=""><br class=""></div><div class="">All generalizations are dangerous, even this one.</div><br class="Apple-interchange-newline"></span></span>
</div>
<br class=""></div></div></body></html>