[Qgis-user] plugin spectral-libraries : install error message
celati Laurent
laurent.celati at gmail.com
Tue Oct 31 10:09:46 PDT 2023
Good afternoon,
i work with Qgis 3.32.2-Lima on Ubuntu.
I would like to install and use this usefull plugin.
https://plugins.qgis.org/plugins/spectral_libraries/
But it seems to be deprecated? :
So when i try to install it with qgis, i get an error message (please to
read below) :
If this plugin does not work anymore, it would be any alternative with qgis
?
Thanks so much for your help.
*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'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20231031/e7dc2951/attachment.htm>
More information about the QGIS-User
mailing list