Installed 10.9 Python, then GDAL Complete, then QGIS. Same result; missing osgeo.
I get a follow on error from MetaSearch complaining that owslib.csw is missing as well. > On May 22, 2018, at 8:50 PM, William Kyngesburye <[email protected]> > wrote: > > Try installing the 10.9 version of Python. > > Then reinstall GDAL and QGIS. > >> On May 22, 2018, at 7:37 PM, Reg Maltais <[email protected] >> <mailto:[email protected]>> wrote: >> >> The python version I installed was the “older” 10.6 version of python. >> pyp version is "pip 10.0.1 from >> /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip >> (python 3.6)" >> My macOS version is 10.13.4. >> >> I’m willing to install all the modules manually if you want me to run some >> tests for you. >> >> Thanks. >> >>> On May 22, 2018, at 8:04 PM, William Kyngesburye <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> 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. >>> >>> You can help me with some information: >>> >>> - 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. >>> >>> - which version of pip is installed? you can check from a Terminal with: >>> >>> pip3 -V >>> >>> - your macOS version >>> >>>> On May 22, 2018, at 6:23 PM, Reg Maltais <[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> 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] <mailto:[email protected]> >>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >>>> <https://lists.osgeo.org/mailman/listinfo/qgis-user> >>> ----- >>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> >>> http://www.kyngchaos.com/ <http://www.kyngchaos.com/> >>> >>> "Time is an illusion - lunchtime doubly so." >>> >>> - Ford Prefect >>> >>> >> >> _______________________________________________ >> Qgis-user mailing list >> [email protected] <mailto:[email protected]> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user > > ----- > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > http://www.kyngchaos.com/ <http://www.kyngchaos.com/> > > Theory of the Universe > > There is a theory which states that if ever anyone discovers exactly what the > universe is for and why it is here, it will instantly disappear and be > replaced by something even more bizarrely inexplicable. There is another > theory which states that this has already happened. > > -Hitchhiker's Guide to the Galaxy 2nd season intro > >
_______________________________________________ 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
