Page MenuHomeSolus

[QGIS] Python error on launch: "Couldn't load plugin 'processing' "
Closed, DuplicatePublic

Description

I haven't touched a thing, just installed QGIS and launched it and get this. When I click close the program goes on to start normally.
Text of error message:

Couldn't load plugin 'processing' 

ValueError: PyCapsule_GetPointer called with incorrect name 
Traceback (most recent call last):
  File "/usr/share/qgis/python/qgis/utils.py", line 309, in loadPlugin
    __import__(packageName)
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/__init__.py", line 29, in 
    from processing.tools.general import *              # NOQA
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 39, in 
    from processing.core.Processing import Processing
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 62, in 
    from processing.script.ScriptAlgorithmProvider import ScriptAlgorithmProvider  # NOQA
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptAlgorithmProvider.py", line 39, in 
    from processing.script.CreateNewScriptAction import CreateNewScriptAction
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/CreateNewScriptAction.py", line 36, in 
    from processing.script.ScriptEditorDialog import ScriptEditorDialog
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptEditorDialog.py", line 56, in 
    os.path.join(pluginPath, "ui", "DlgScriptEditor.ui"))
  File "/usr/share/qgis/python/qgis/PyQt/uic/__init__.py", line 38, in __loadUiType
    return __PyQtLoadUiType(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/PyQt5/uic/__init__.py", line 201, in loadUiType
    exec(code_string.getvalue(), ui_globals)
  File "", line 143, in 
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/processing/script/ScriptEdit.py", line 35, in 
    from qgis.PyQt.Qsci import QsciScintilla, QsciLexerPython, QsciAPIs
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/qgis/PyQt/Qsci.py", line 26, in 
    from PyQt5.Qsci import *
  File "/usr/share/qgis/python/qgis/utils.py", line 672, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ValueError: PyCapsule_GetPointer called with incorrect name


Python version: 3.6.8 (default, Jan  2 2019, 05:35:58) [GCC 8.2.0] 
QGIS version: 3.4.6-Madeira Madeira, exported 

Python Path:
/usr/share/qgis/python
/home/elliott/.local/share/QGIS/QGIS3/profiles/default/python
/home/elliott/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/lib/python3.6/site-packages
/home/elliott/.local/share/QGIS/QGIS3/profiles/default/python

I don't think I've messed with my system python3 interpreter at all (I use virtualenvs) but here's this just in case:

[I] ➜ pip3 list
Package           Version   
----------------- ----------
appdirs           1.4.3     
asn1crypto        0.24.0    
attrs             17.4.0    
Babel             2.6.0     
certifi           2018.10.15
cffi              1.11.5    
chardet           3.0.4     
colorama          0.3.9     
configobj         5.0.6     
cryptography      2.3.1     
cssutils          1.0.2     
cupshelpers       1.0       
future            0.16.0    
GDAL              2.3.1     
Guake             3.4.0     
idna              2.8       
Jinja2            2.10      
lxml              4.2.4     
MarkupSafe        1.0       
meson             0.50.0    
mutagen           1.41.0    
numpy             1.16.0    
onboard           1.4.1     
OWSLib            0.16.0    
packaging         19.0      
pbr               4.0.2     
pip               18.1      
psutil            5.5.0     
psycopg2          2.7.4     
pyasn1            0.4.4     
pycairo           1.18.0    
pycparser         2.19      
pycups            1.9.74    
pygeoip           0.2.7     
Pygments          2.3.1     
pygobject         3.28.2    
PyNaCl            1.2.1     
pyOpenSSL         19.0.0    
pyparsing         2.3.1     
pyparted          3.10.7    
pyPEG2            2.15.2    
pyproj            1.9.5.1   
PyQt5             5.11.3    
PyQt5-sip         4.19.13   
pysmbc            1.0.15.8  
PySocks           1.6.7     
python-dateutil   2.8.0     
pytz              2018.9    
pyudev            0.21.0    
pywal             3.2.1     
pyxdg             0.25      
PyYAML            3.12      
QtAwesome         0.4.4     
QtPy              1.4.0     
qutebrowser       1.4.2     
requests          2.21.0    
setuptools        40.6.2    
six               1.12.0    
stevedore         1.30.0    
urllib3           1.22      
virtualenv        15.2.0    
virtualenv-clone  0.5.1     
virtualenvwrapper 4.8.2     
youtube-dl        2019.4.1

Screenshot from 2019-04-13 18-19-42.png (656×1 px, 546 KB)