Skip to content

AttributeError: module 'importlib' has no attribute 'find_loader' #28

@aloboa

Description

@aloboa

Just upon starting get:
Installing dependencies.
Please...

and if I click on OK:

An error has occurred while executing Python code: 

AttributeError: module 'importlib' has no attribute 'find_loader' 
Traceback (most recent call last):
  File "/home/alobo2/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GeoTrace/geo_trace.py", line 188, in open_trace
    self.dlg = GeoTraceDialog(self.iface)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/alobo2/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GeoTrace/geo_trace_dialog.py", line 70, in __init__
    self.setup_gui()
  File "/home/alobo2/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GeoTrace/geo_trace_dialog.py", line 94, in setup_gui
    installer.Installer().install()
  File "/home/alobo2/.local/share/QGIS/QGIS3/profiles/default/python/plugins/GeoTrace/tools/install_dependencies.py", line 54, in install
    if importlib.find_loader('mplstereonet') is None:
       ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'find_loader'


Python version: 3.12.7 | packaged by conda-forge | (main, Oct  4 2024, 16:30:45) [GCC 13.3.0] 
QGIS version: 3.40.1-Bratislava Bratislava, exported 



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body>

QGIS version | 3.40.1-Bratislava
-- | --
QGIS code branch | Release 3.40
 
Libraries
Qt version | 5.15.15
Python version | 3.12.7
GDAL/OGR version | 3.9.2
PROJ version | 9.5.0
EPSG Registry database version | v11.016 (2024-08-31)
GEOS version | 3.13.0-CAPI-1.19.0
SQLite version | 3.47.0
PDAL version | 2.8.0
PostgreSQL client version | unknown
SpatiaLite version | 5.1.0
QWT version | 6.3.0
QScintilla2 version | 2.14.1
OS version | Ubuntu 22.04.5 LTS
 
Active Python plugins
deepness | 0.6.5
DigitizingTools | 1.5.3
eco_visiol8 | 1.1
coordinate_capture | 0.2
GeometryShapes | 0.7
processing_r | 4.1.0
ee_plugin | 0.0.7
d2s_browser | 0.3
latlontools | 3.7.4
enmapboxplugin | 3.15.2
valuetool | 3.0.19
MetaSearch | 0.3.6
grassprovider | 2.12.99
processing | 2.12.99
db_manager | 0.1.20
GeoTrace | 1.34

</body></html>QGIS version
3.40.1-Bratislava
QGIS code branch
[Release 3.40](https://github.com/qgis/QGIS/tree/release-3_40)
 
Libraries
Qt version
5.15.15
Python version
3.12.7
GDAL/OGR version
3.9.2
PROJ version
9.5.0
EPSG Registry database version
v11.016 (2024-08-31)
GEOS version
3.13.0-CAPI-1.19.0
SQLite version
3.47.0
PDAL version
2.8.0
PostgreSQL client version
unknown
SpatiaLite version
5.1.0
QWT version
6.3.0
QScintilla2 version
2.14.1
OS version
Ubuntu 22.04.5 LTS
 
Active Python plugins
deepness
0.6.5
DigitizingTools
1.5.3
eco_visiol8
1.1
coordinate_capture
0.2
GeometryShapes
0.7
processing_r
4.1.0
ee_plugin
0.0.7
d2s_browser
0.3
latlontools
3.7.4
enmapboxplugin
3.15.2
valuetool
3.0.19
MetaSearch
0.3.6
grassprovider
2.12.99
processing
2.12.99
db_manager
0.1.20
GeoTrace
1.34

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions