[MacPorts] #60741: Unable to install py38-qscintilla-qt5, py38-pyqt5-chart, py38-pyqt5-webengine
MacPorts
noreply at macports.org
Wed Jul 1 10:42:03 UTC 2020
#60741: Unable to install py38-qscintilla-qt5, py38-pyqt5-chart,
py38-pyqt5-webengine
-------------------------------------------------+-------------------------
Reporter: JD-Veiga | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: py38-pyqt5 py38-qscintilla-qt5 |
py38-pyqt5-chart py38-pyqt5-webengine |
py38-sip |
-------------------------------------------------+-------------------------
Comment (by JD-Veiga):
I can confirm that I **can upgrade `py38-qscintilla-qt5`,
`py38-pyqt5-chart`, and `py38-pyqt5-webengine` from a previous
installation but not from a fresh installation**.
In my case, upgrading from previous installation was possible with these
packages:
- `py38-pyqt5 @5.15.0_0+scintilla`
- `qscintilla-qt5 @2.11.2_0`
- `py38-pyqt5-chart @5.15.0_0`
- `py38-qscintilla-qt5 @2.11.2_0`
I upgraded them to:
- `qscintilla-qt5 @2.11.5_0`
- `py38-qscintilla-qt5 @2.11.5_0`
and installed:
- `py38-pyqt5 @5.15.0_0+scintilla+webkit`
- `py38-pyqt5-webengine @5.15.0_0` (and corresponding `qt5-qtwebengine
@5.14.2_0`)
As I said before, this was not possible from a fresh installation (without
qt5, pyqt5, qscintilla-qt5, etc. installed).
----
Despite having being able to upgrade from previous installation,
**importing qscintilla with activated `py38-qscintilla-qt5 @2.11.5_0` is
not possible**. It can only import it with `py38-qscintilla-qt5 @2.11.2_0`
activated.
For instance, running `python -c 'import PyQt5.Qsci'` with `py38
-qscintilla-qt5 @2.11.5_0 (active)` --and `qscintilla-qt5 @2.11.5_0
(active)`-- fails:
{{{
Traceback (most recent call last):
File "<string>", 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
}}}
Though `/opt/local/libexec/qt5/lib/libqscintilla2_qt5.15.dylib` really
exists.
Running `python -c 'import PyQt5.Qsci'` with `py38-qscintilla-qt5
@2.11.2_0 (active)` --and `qscintilla-qt5 @2.11.5_0 (active)`-- works
fine. (Note that only py38-qscintilla-qt5 has been changed between tests.)
I do not know if inability to install `py38-qscintilla-qt5`,
`py38-pyqt5-chart`, and `py38-pyqt5-webengine` from scratch and inability
to import qscintilla with `py38-qscintilla-qt5 @2.11.5_0` are related or
not. Just providing empirical observations.
Thank you and sorry for the burden.
--
Ticket URL: <https://trac.macports.org/ticket/60741#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list