<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="">The latest pip, as used to install Python modules, has a problem that affects some people. I haven't figured out a definite solution, but there is a workaround that means manually installing all the python modules. Or you can wait for QGIS 3.0.3 - at least I'll use the workaround in the installers.<div class=""><br class=""></div><div class="">You can help me with some information:</div><div class=""><br class=""></div><div class="">- what version of Python did you install? specifically, which system version? Starting with Python 3.6.5, there are now 2 installers: one for older OS X systems, it has "macosx10.6" in the installer name (this is how all previous versions were built), and one for newer systems, it has macosx10.9 in the installer name.</div><div class=""><br class=""></div><div class="">- which version of pip is installed? you can check from a Terminal with:</div><div class=""><br class=""></div><div class=""> pip3 -V</div><div class=""><br class=""></div><div class="">- your macOS version</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 22, 2018, at 6:23 PM, Reg Maltais <<a href="mailto:reginald.maltais@gmail.com" class="">reginald.maltais@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I’ve run a complete install of Python 3 (python-3.6.5-macos10.6.pkg), GDAL complete, then QGIS 3.0.2. When I open QGIS I get the error below. I found a thread that has a similar error, and the fix was to reinstall all the components, but I’ve done this a few times now to no avail (both overwriting QGIS3.app and after deleting it). I’ve also set $PATH to prepend "/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/GDAL.framework/Versions/2.2/Programs:” in the environment settings.</div><div class=""><br class=""></div><div class="">I went and looked into <span style="background-color: rgb(255, 255, 255);" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package, and sure enough there is no ‘osgeo’. Other things like </span><span style="background-color: rgb(255, 255, 255);" class="">‘psycopg2’ are there though, but for whatever reason not osgeo. Any ideas would be appreciated.</span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class=""><br class=""></span></font></span></div><div class=""><br class=""></div><div class=""><div style="margin: 0px;" class=""><!--StartFragment--><span style=" font-weight:600; color:#ff0000;" class="">Couldn't load plugin 'processing'</span> <br class=""></div><p style="margin: 14px 0px 12px;" class=""><span style=" font-size:large; font-weight:600;" class="">ModuleNotFoundError: No module named 'osgeo' </span></p>
<pre style="margin-top: 12px; margin-bottom: 12px;" class=""><span style=" font-family:'Monaco';" class="">Traceback (most recent call last):<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 311, in loadPlugin<br class=""> __import__(packageName)<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import<br class=""> mod = _builtin_import(name, globals, locals, fromlist, level)<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 28, in <br class=""> from processing.tools.dataobjects import * # NOQA<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import<br class=""> mod = _builtin_import(name, globals, locals, fromlist, level)<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py", line 51, in <br class=""> from processing.algs.gdal.GdalUtils import GdalUtils<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import<br class=""> mod = _builtin_import(name, globals, locals, fromlist, level)<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py", line 35, in <br class=""> from osgeo import gdal<br class=""> File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 664, in _import<br class=""> mod = _builtin_import(name, globals, locals, fromlist, level)<br class="">ModuleNotFoundError: No module named 'osgeo'<br class=""></span></pre><div style="margin: 0px;" class=""><br class=""><span style=" font-weight:600;" class="">Python version:</span> 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] <br class=""><span style=" font-weight:600;" class="">QGIS version:</span> 3.0.2-Girona Girona, exported <br class=""></div><p style="margin: 12px 0px;" class=""><span style="font-size: inherit; font-weight: 600;" class="">Python Path:</span></p>
<ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;" class=""><li style="margin: 12px 0px 0px;" class="">/Applications/QGIS3.app/Contents/MacOS/../Resources/python</li>
<li style="margin: 0px;" class="">/Users/goatsweater/Library/Application Support/QGIS/QGIS3/profiles/default/python</li>
<li style="margin: 0px;" class="">/Users/goatsweater/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins</li>
<li style="margin: 0px;" class="">/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins</li>
<li style="margin: 0px;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip</li>
<li style="margin: 0px;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6</li>
<li style="margin: 0px;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload</li>
<li style="margin: 0px;" class="">/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages</li>
<li style="margin: 0px 0px 12px;" class="">/Users/goatsweater/Library/Application Support/QGIS/QGIS3/profiles/default/python<!--EndFragment--></li></ul><div class=""><br class=""></div></div><div class="">Thanks,</div><div class="">Reg</div></div>_______________________________________________<br class="">Qgis-user mailing list<br class=""><a href="mailto:Qgis-user@lists.osgeo.org" class="">Qgis-user@lists.osgeo.org</a><br class="">List info: https://lists.osgeo.org/mailman/listinfo/qgis-user<br class="">Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user</div></blockquote></div><br class=""><div class="">
<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; "><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="">"Time is an illusion - lunchtime doubly so."</div><div class=""><br class=""></div><div class="">- Ford Prefect</div><br class="Apple-interchange-newline"></span></span>
</div>
<br class=""></div></body></html>