To Whom it May Concern:

My name is Brad Jones.  I'm a long-time user of QGIS, but first time poster to 
this list serv.  Great product!

After several weeks away from having to utilize QGIS for mapping purposes, I 
went into the application today to produce some maps that are needed for a 
project due at the end of this week.  The version that I was using was QGIS 
3.40.4 (Bratislava).  When I double-clicked on the icon, the first thing I saw 
was that a new mmqgis version was available and it asked me if I wanted to 
download it.  I said yes, but when it finished downloading, it gave me an error 
message stating "Couldn't load plugin 'mmqgis' due to an error when calling its 
classFactory() method."  Per some instructions I found on YouTube, I tried 
uninstalling and reinstalling the plugin, but to no avail.  I then thought that 
perhaps there is a more recent LTR that I could download that might solve the 
problem, and sure enough, there was, QGIS 3.40.15.  So, I downloaded it, but I 
still got the same error message.  I then tried downloading the most recent 
standard version, QGIS 3.44.7.  Same thing.  I have no idea what to do at this 
point, so I thought I would reach out to this listserv for help.  The stack 
trace I receive along with this error is as follows:

Couldn't load plugin 'mmqgis' due to an error when calling its classFactory() 
method
ImportError: PyQt6 classes cannot be imported in a QGIS build based on Qt5. Use 
PyQt5.QtCore or preferably the version independent qgis.PyQt.QtCore import 
instead (where available).

Traceback (most recent call last):
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis/./python\qgis\utils.py", line 478, in 
_startPlugin
    plugins[packageName] = package.classFactory(iface)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\Users/lifew/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mmqgis\__init__.py",
 line 17, in classFactory
    from .mmqgis_menu import mmqgis_menu
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis/./python\qgis\utils.py", line 1100, in 
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\Users/lifew/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mmqgis\mmqgis_menu.py",
 line 15, in
    from PyQt6.QtCore import *
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis/./python\qgis\utils.py", line 1068, in 
_import
    raise ImportError(msg)
ImportError: PyQt6 classes cannot be imported in a QGIS build based on Qt5.
Use PyQt5.QtCore or preferably the version independent qgis.PyQt.QtCore import 
instead (where available).

Python version: 3.12.12 (main, Oct 14 2025, 23:38:06) [MSC v.1944 64 bit 
(AMD64)]
QGIS version: 3.44.7-Solothurn Solothurn, ea262bc5ed8
Python Path:

  *   C:/PROGRA~1/QGIS34~1.7/apps/qgis/./python
  *   C:/Users/lifew/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  *   C:/Users/lifew/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  *   C:/PROGRA~1/QGIS34~1.7/apps/qgis/./python/plugins
  *   C:\PROGRA~1\QGIS34~1.7\apps\grass\grass84\etc\python
  *   C:\Users\lifew\Documents
  *   C:\Program Files\QGIS 3.44.7\bin\python312.zip
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\DLLs
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\Lib
  *   C:\Program Files\QGIS 3.44.7\bin
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\Lib\site-packages
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\Lib\site-packages\win32
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\Lib\site-packages\win32\lib
  *   C:\PROGRA~1\QGIS34~1.7\apps\Python312\Lib\site-packages\Pythonwin
  *   C:/Users/lifew/AppData/Roaming/QGIS/QGIS3\profiles\default/python

Can someone please help me.  I would greatly appreciate it!

Sincerely,

Brad Jones
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to