Pages: 1
- Sujet précédent - QGIS/Plugin spectral-libraries: message d'erreur installation - Sujet suivant
#1 Tue 31 October 2023 18:21
- image95
- Participant assidu
- Date d'inscription: 6 Sep 2014
- Messages: 257
QGIS/Plugin spectral-libraries: message d'erreur installation
Bonjour,
Je travaille avec Qgis 3.32.2-Lima sur Ubuntu.
J'aimerais pouvoir utiliser ce plugin :
https://plugins.qgis.org/plugins/spectral_libraries/
Mais il semble obsolète ?
En tout cas, lorsque j'essaie de l'intaller via qgis, j'ai un message d'erreur (ci dessous).
Si ce plugin n'est plus fonctionnel, connaitriez vous des alternatives ?
Code:
Impossible de charger l'extension 'spectral_libraries' provoque une erreur lors de l'appel à sa méthode classFactory() ModuleNotFoundError: No module named 'mock' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qgis/utils.py", line 423, in _startPlugin plugins[packageName] = package.classFactory(iface) File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/spectral_libraries/__init__.py", line 14, in classFactory from spectral_libraries.spectral_libraries_plugin import SpectralLibrariesPlugin File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/spectral_libraries/spectral_libraries_plugin.py", line 29, in from spectral_libraries.interfaces.spectral_library_gui import SpectralLibraryWidget File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/spectral_libraries/interfaces/spectral_library_gui.py", line 34, in initResources() File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/spectral_libraries/qps/__init__.py", line 154, in initResources from .testing import initResourceFile File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/geoteca/.local/share/QGIS/QGIS3/profiles/default/python/plugins/spectral_libraries/qps/testing.py", line 40, in import mock File "/usr/lib/python3/dist-packages/qgis/utils.py", line 888, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'mock'
Hors ligne
Pages: 1
- Sujet précédent - QGIS/Plugin spectral-libraries: message d'erreur installation - Sujet suivant