[FOSSGIS-Talk] QGIS 2.99 Fehlermeldung: 'ImportError: No module named 'PyQt5.QtSvg'

R. Reiterer r.reiterer at posteo.at
Sa Jan 21 22:04:51 CET 2017


So, die Lösung war einfacher als gedacht:

sudo apt-get install python3-pyqt5.qtsvg

Schöne Grüße!

Am 21.01.2017 10:22 schrieb R. Reiterer:
> Hallo,
> 
> ich habe vergangene Woche QGIS 2.99 (QGIS-Codeversion 313ec55) auf
> einem frisch aufgesetzten Ubuntu 16.04 LTS Rechner installiert. Leider
> fehlt die Werkzeugkiste. Beim Start erhalte ich nachfolgende
> Fehlermeldung. Weiß jemand Abhilfe?
> 
> Konnte Erweiterung 'processing' nicht laden
> 
> ImportError: No module named 'PyQt5.QtSvg'
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 313, in 
> loadPlugin
>     __import__(packageName)
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, 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/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/share/qgis/python/plugins/processing/tools/general.py", 
> line 38, in
>     from processing.core.Processing import Processing
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/share/qgis/python/plugins/processing/core/Processing.py",
> line 56, in
>     from processing.modeler.ModelerAlgorithmProvider import
> ModelerAlgorithmProvider
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/usr/share/qgis/python/plugins/processing/modeler/ModelerAlgorithmProvider.py",
> line 38, in
>     from processing.modeler.EditModelAction import EditModelAction
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/usr/share/qgis/python/plugins/processing/modeler/EditModelAction.py",
> line 30, in
>     from processing.modeler.ModelerDialog import ModelerDialog
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/usr/share/qgis/python/plugins/processing/modeler/ModelerDialog.py",
> line 37, in
>     from qgis.PyQt.QtSvg import QSvgGenerator
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/usr/lib/python3/dist-packages/qgis/PyQt/QtSvg.py", line 1, in
>     from PyQt5.QtSvg import *
>   File "/usr/lib/python3/dist-packages/qgis/utils.py", line 647, in 
> _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named 'PyQt5.QtSvg'
> 
> 
> Python-Version: 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 
> 20160609]
> QGIS-Version: 2.99.0-Master Master, 313ec55
> 
> Python-Pfad:
> /usr/share/qgis/python
> /home/benuterzname/.qgis3/python
> /home/benuterzname/.qgis3/python/plugins
> /usr/share/qgis/python/plugins
> /usr/lib/python35.zip
> /usr/lib/python3.5
> /usr/lib/python3.5/plat-x86_64-linux-gnu
> /usr/lib/python3.5/lib-dynload
> /usr/local/lib/python3.5/dist-packages
> /usr/lib/python3/dist-packages
> /home/benuterzname/.qgis3//python


Mehr Informationen über die Mailingliste FOSSGIS-Talk-Liste