<div dir="ltr"><div><div><div><div><div><div>Hi All,<br><br></div>I have a student trying to work with QGIS on a Mac and is having trouble starting the Processing Plugin; I'm primarily Windows & Ubuntu user and thought some Mac users on the list might have some trouble-shooting tips I can recommend. (It might be something simple - I just haven't encountered this issue before, and a lot of the options I see on StackExchange are homebrew focused).<br><br></div>The student is on a fairly recent version of OS 10, and said he installed QGIS via the downloads (w/ dependencies) available from KyngChaos. <br><br></div>The student first started with 2.12.1-1, and when trying to make sure the processing plugin was activated/installed, got this error:<br>Couldn't load plugin 'processing'<br>ImportError: cannot import name spatialite_utils <br><br></div>I can send the entire traceback if needed, but this is where it seems to have gotten hung up: <br><pre style="margin-bottom:9pt"><span style="font-family:"Courier New,courier",serif"> File "/Users/evan/.qgis2/python/plugins/processing/tools/vector.py", line 20, in <br>
from processing.algs.qgis import spatialite_utils<br>
ImportError: cannot import name spatialite_utils<br><br></span></pre>They then tried QGIS 2.8.4-1 (also from KyngChaos), with Processing throwing the result given at the end of this e-mail. I will be meeting with the student later today to try a couple of things, but any suggestions of what might be going on or how to deal with this are welcome. I think for the 2.8.4, might just need to remove the .qgis folder and start over, but it would be great to solve the issue in 2.12 also.<br></div><br>Thanks!<br></div>Mike<br><div><div><br><br> <br><br>Couldn't load plugin 'processing' from ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/evan/.qgis2/python', '/Users/evan/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Users/evan/.qgis2//python', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']<br>Traceback (most recent call last):<br> File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 196, in loadPlugin<br> __import__(packageName)<br> File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 478, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "/Users/evan/.qgis2/python/plugins/processing/__init__.py", line 29, in <br> from processing.tools.general import *<br> File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 478, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "/Users/evan/.qgis2/python/plugins/processing/tools/general.py", line 28, in <br> from processing.core.Processing import Processing<br> File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 478, in _import<br> mod = _builtin_import(name, globals, locals, fromlist, level)<br> File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py", line 41, in <br> from processing.gui.AlgorithmClassification import AlgorithmDecorator<br>ImportError: cannot import name AlgorithmDecorator<br><br>Python version:<br>2.7.10 (default, Oct 23 2015, 18:05:06) <br>[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]<br><br><br>QGIS version:<br>2.8.4-Wien Wien, exported<br><br>Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', u'/Users/evan/.qgis2/python', u'/Users/evan/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', u'/Users/evan/.qgis2//python', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']<br><br></div></div></div>