[MacPorts] #68006: I have an PyQt5.QtWebEngineWidgets error, when I'm trying to use Qgis2threejs

MacPorts noreply at macports.org
Sat Sep 2 14:19:14 UTC 2023


#68006: I have an PyQt5.QtWebEngineWidgets error, when I'm trying to use
Qgis2threejs
------------------------+----------------------
  Reporter:  enoch777   |      Owner:  Veence
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  qgis3-ltr  |
------------------------+----------------------

Comment (by enoch777):

 Well, I uninstall homebrew.
 And now I have Qgis again =)
 I tried:
 sudo port install py311-pyqt5 +webkit
 And I still have the initial problem, a window with this message:
 Missing dependencies related to PyQt5 and QtWebKit. Please install
 "python3-pyqt5.qtwebkit" package (Debian/Ubuntu) before using this plugin.
 And then the error:
 ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
 Traceback (most recent call last):
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 423, in _startPlugin
     plugins[packageName] = package.classFactory(iface)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/eaguirre/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/__init__.py",
 line 8, in classFactory
     from .qgis2threejs import Qgis2threejs
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/eaguirre/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/qgis2threejs.py",
 line 16, in
     from .q3dwindow import Q3DWindow
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/eaguirre/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/q3dwindow.py",
 line 25, in
     from .ui.q3dwindow import Ui_Q3DWindow
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/eaguirre/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/ui/q3dwindow.py",
 line 286, in
     from Qgis2threejs.q3dview import Q3DView
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/Users/eaguirre/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/q3dview.py",
 line 16, in
     from PyQt5.QtWebKit import QWebSettings, QWebSecurityOrigin
   File
 "/Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 888, in _import
     mod = _builtin_import(name, globals, locals, fromlist, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 ModuleNotFoundError: No module named 'PyQt5.QtWebKit'

-- 
Ticket URL: <https://trac.macports.org/ticket/68006#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list