Hi,
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.
I went and looked into
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-package,
and sure enough there is no ‘osgeo’. Other things like ‘psycopg2’ are there
though, but for whatever reason not osgeo. Any ideas would be appreciated.
Couldn't load plugin 'processing'
ModuleNotFoundError: No module named 'osgeo'
Traceback (most recent call last):
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 311, in loadPlugin
__import__(packageName)
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 28, in
from processing.tools.dataobjects import * # NOQA
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py",
line 51, in
from processing.algs.gdal.GdalUtils import GdalUtils
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py",
line 35, in
from osgeo import gdal
File
"/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 664, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'osgeo'
Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 03:03:55) [GCC 4.2.1
(Apple Inc. build 5666) (dot 3)]
QGIS version: 3.0.2-Girona Girona, exported
Python Path:
/Applications/QGIS3.app/Contents/MacOS/../Resources/python
/Users/goatsweater/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/goatsweater/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins
/Library/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
/Users/goatsweater/Library/Application
Support/QGIS/QGIS3/profiles/default/python
Thanks,
Reg_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user