<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:531387323;
mso-list-template-ids:-957697078;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I have installed QGIS 3.2.3 on an old Mac Pro running El Capitan. I installed Python 3.6 from python.org, 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></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m attaching the entire error message, in case there is more in that.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks for any help on this.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Bill Guthe<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Research Computing/OIT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Princeton University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Princeton, NJ <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Error message:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Couldn't load plugin 'SemiAutomaticClassificationPlugin' due to an error when calling its classFactory() method</span></b><span style="font-size:11.0pt">
<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">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:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Traceback (most recent call last):<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1353, in
<br>
fontManager = json_load(_fmcache)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 888, in json_load<br>
with open(filename, 'r') as fh:<br>
FileNotFoundError: [Errno 2] No such file or directory: '/Users/wguthe/.matplotlib/fontlist-v300.json'<br>
<br>
During handling of the above exception, another exception occurred:<br>
<br>
Traceback (most recent call last):<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 337, in startPlugin<br>
plugins[packageName] = package.classFactory(iface)<br>
File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/__init__.py", line 65, in classFactory<br>
from .semiautomaticclassificationplugin import SemiAutomaticClassificationPlugin<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/semiautomaticclassificationplugin.py", line 74, in
<br>
from .ui.semiautomaticclassificationplugindialog import SemiAutomaticClassificationPluginDialog<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/semiautomaticclassificationplugindialog.py", line 39, in
<br>
from .ui_semiautomaticclassificationplugin_scatter_plot import Ui_ScatterPlot<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/ui_semiautomaticclassificationplugin_scatter_plot.py", line 453, in
<br>
from .scatterwidget2 import ScatterWidget2<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/ui/scatterwidget2.py", line 44, in
<br>
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigCanvas<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/backends/__init__.py", line 9, in
<br>
from matplotlib.backend_bases import _Backend<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/backend_bases.py", line 46, in
<br>
from matplotlib import (<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/textpath.py", line 8, in
<br>
from matplotlib import cbook, dviread, font_manager, rcParams<br>
File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 674, in _import<br>
mod = _builtin_import(name, globals, locals, fromlist, level)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1363, in
<br>
_rebuild()<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 1344, in _rebuild<br>
fontManager = FontManager()<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 978, in __init__<br>
ttffiles = findSystemFonts(paths) + findSystemFonts()<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 270, in findSystemFonts<br>
fontfiles.update(OSXInstalledFonts(fontext=fontext))<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 218, in OSXInstalledFonts<br>
for directory in directories<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 220, in
<br>
for path in list_fonts(directory, ext)]<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 157, in list_fonts<br>
for path in filter(Path.is_file, Path(directory).glob("**/*.*"))<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/matplotlib/font_manager.py", line 156, in
<br>
return [str(path)<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 1098, in glob<br>
for p in selector.select_from(self):<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 559, in _select_from<br>
for starting_point in self._iterate_directories(parent_path, is_dir, scandir):<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br>
for p in self._iterate_directories(path, is_dir, scandir):<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br>
for p in self._iterate_directories(path, is_dir, scandir):<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 549, in _iterate_directories<br>
for p in self._iterate_directories(path, is_dir, scandir):<br>
[Previous line repeated 3 more times]<br>
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/pathlib.py", line 547, in _iterate_directories<br>
if entry.is_dir() and not entry.is_symlink():<br>
OSError: [Errno 62] Too many levels of symbolic links: 'Applications/DivX Player.app/Contents/Frameworks/DPXLibrary.framework/Versions/Current/A'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
<b>Python version:</b> 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)]
<br>
<b>QGIS version:</b> 3.2.3-Bonn Bonn, exported <o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt">Python Path:</span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Applications/QGIS3.app/Contents/MacOS/../Resources/python<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo1"><span style="font-size:11.0pt">/Users/wguthe/Library/Application Support/QGIS/QGIS3/profiles/default/python<o:p></o:p></span></li></ul>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
</body>
</html>