[Qgis-user] QGIS 3 errors after install on macOS 10.13.4

Reg Maltais reginald.maltais at gmail.com
Wed May 23 02:59:10 PDT 2018


So that worked:
Processing /Library/Frameworks/GDAL.framework/Versions/2.2/Resources/GDAL-2.2.4-cp36-none-macosx_10_6_intel.whl
Installing collected packages: GDAL
Successfully installed GDAL-2.2.4

I’m getting different errors when opening QGIS now, I’m assuming due to not having run pip install for all of the various bits.

Couldn't load plugin 'processing' 
ModuleNotFoundError: No module named 'psycopg2.extensions'

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 29, in 
    from processing.tools.general 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/general.py", line 39, in 
    from processing.core.Processing import Processing
  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/core/Processing.py", line 57, in 
    from processing.algs.qgis.QgisAlgorithmProvider import QgisAlgorithmProvider  # 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/algs/qgis/QgisAlgorithmProvider.py", line 68, in 
    from .FieldsCalculator import FieldsCalculator
  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/qgis/FieldsCalculator.py", line 45, in 
    from .ui.FieldsCalculatorDialog import FieldsCalculatorDialog
  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/qgis/ui/FieldsCalculatorDialog.py", line 52, in 
    from processing.gui.PostgisTableSelector import PostgisTableSelector
  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/gui/PostgisTableSelector.py", line 34, in 
    from processing.tools.postgis import GeoDB
  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/postgis.py", line 29, in 
    import psycopg2.extensions  # For isolation levels
  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 'psycopg2.extensions'

Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] 
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
Couldn't load plugin 'MetaSearch' due to an error when calling its classFactory() method 
ModuleNotFoundError: No module named 'owslib.csw'

Traceback (most recent call last):
  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 336, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/__init__.py", line 29, in classFactory
    from MetaSearch.plugin import MetaSearchPlugin
  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/MetaSearch/plugin.py", line 34, in 
    from MetaSearch.dialogs.maindialog import MetaSearchDialog
  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/MetaSearch/dialogs/maindialog.py", line 46, in 
    from owslib.csw import CatalogueServiceWeb # spellok
  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 'owslib.csw'

Python version: 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 05:52:31) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] 
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


> On May 22, 2018, at 9:31 PM, William Kyngesburye <woklist at kyngchaos.com> wrote:
> 
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180523/55d26cfb/attachment.html>


More information about the Qgis-user mailing list