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 <reginald.malt...@gmail.com> 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
> Qgis-user@lists.osgeo.org
> 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/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect


_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to