[MacPorts] #68628: py311-scipy @1.10.1: fails to build

MacPorts noreply at macports.org
Tue Nov 21 11:16:37 UTC 2023


#68628: py311-scipy @1.10.1: fails to build
--------------------------+-----------------------
  Reporter:  Octansf      |      Owner:  michaelld
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  sonoma
      Port:  py311-scipy  |
--------------------------+-----------------------

Comment (by Octansf):

 Hi, everybody.  With the instalation maded, I have a new Problem it is
 next: When I try to install new plugins this is happends

 Couldn't load plugin 'go2streetview' due to an error when calling its
 classFactory() method

 ImportError: cannot import name 'QtWebKit' from 'PyQt5'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/PyQt5/__init__.py)
 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/fer/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/__init__.py",
 line 34, in classFactory
     from .go2streetview import go2streetview
   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/fer/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/go2streetview.py",
 line 22, in
     from PyQt5 import Qt, QtCore, QtWidgets, QtGui, QtWebKit,
 QtWebKitWidgets, QtXml, QtNetwork, uic
 ImportError: cannot import name 'QtWebKit' from 'PyQt5'
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/PyQt5/__init__.py)


 Python version: 3.11.6 (main, Oct 26 2023, 18:47:38) [Clang 15.0.0
 (clang-1500.0.40.1)]
 QGIS version: 3.28.12-Firenze Firenze, exported

 Python Path:
 /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python
 /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python
 /Users/fer/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins
 /Applications/MacPorts/QGIS3.app/Contents/MacOS/../Resources/python/plugins
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python311.zip
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /lib-dynload
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages
 /Users/fer/Library/Application Support/QGIS/QGIS3/profiles/default/python
 /Users/fer/Proj/arn/gis/con_1800/geo/bd_new_2023_m04_a_07
 /Users/fer/Library/Application
 Support/QGIS/QGIS3/profiles/default/python/plugins/go2streetview/res

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


More information about the macports-tickets mailing list