[MacPorts] #60796: py-qscintilla-qt5 @2.11.5_0: cannot load library when importing in Python

MacPorts noreply at macports.org
Tue Jul 7 15:32:19 UTC 2020


#60796: py-qscintilla-qt5 @2.11.5_0: cannot load library when importing in Python
------------------------+-------------------------------
 Reporter:  reneeotten  |      Owner:  michaelld
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  py-qscintilla-qt5
------------------------+-------------------------------
 The installation of py-qscintilla-qt5 appears to finish correctly, but
 importing the package fails with:

 {{{
 >>> import PyQt5.Qsci
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/PyQt5/Qsci.so, 2): Library not loaded:
 @rpath/libqscintilla2_qt5.15.dylib
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/PyQt5/Qsci.so
   Reason: image not found
 }}}

 and the output of {{{otool}}} is:
 {{{
 > otool -L
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/PyQt5/Qsci.so
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/PyQt5/Qsci.so:
         @rpath/libqscintilla2_qt5.15.dylib (compatibility version 15.0.0,
 current version 15.0.0)
 /opt/local/libexec/qt5/lib/QtPrintSupport.framework/Versions/5/QtPrintSupport
 (compatibility version 5.14.0, current version 5.14.2)
 /opt/local/libexec/qt5/lib/QtWidgets.framework/Versions/5/QtWidgets
 (compatibility version 5.14.0, current version 5.14.2)
 /opt/local/libexec/qt5/lib/QtMacExtras.framework/Versions/5/QtMacExtras
 (compatibility version 5.14.0, current version 5.14.2)
         /opt/local/libexec/qt5/lib/QtGui.framework/Versions/5/QtGui
 (compatibility version 5.14.0, current version 5.14.2)
         /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 (compatibility version 45.0.0, current version 1671.60.107)
         /System/Library/Frameworks/Metal.framework/Versions/A/Metal
 (compatibility version 1.0.0, current version 162.2.0)
         /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore
 (compatibility version 5.14.0, current version 5.14.2)
 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
 (compatibility version 1.0.0, current version 1.0.0)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
 (compatibility version 1.0.0, current version 275.0.0)
         /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
 (compatibility version 1.0.0, current version 1.0.0)
         /System/Library/Frameworks/AGL.framework/Versions/A/AGL
 (compatibility version 1.0.0, current version 1.0.0)
         /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
 version 400.9.4)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1252.250.1)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60796>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list