[MacPorts] #58571: py36-qtconsole should depend on QT python bindings
MacPorts
noreply at macports.org
Fri Jun 7 20:40:05 UTC 2019
#58571: py36-qtconsole should depend on QT python bindings
--------------------+----------------------------
Reporter: hsgg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py36-qtconsole
--------------------+----------------------------
Hi, after asking my university's IT department to install
`py36-qtconsole`, it turns out that QT bindings need to be installed
separately, e.g. `py36-pyqt5`.
This bug report is for `py36-*`, but I assume the other python versions
need a similar dependency added.
Thank you!
Expected result: Open a qtconsole window.
Actual results:
{{{
$ jupyter-qtconsole-3.6
Traceback (most recent call last):
File "/opt/local/bin/jupyter-qtconsole-3.6", line 2, in <module>
from qtconsole.qtconsoleapp import main
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/qtconsole/qtconsoleapp.py", line 60, in <module>
from qtconsole.qt import QtCore, QtGui
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/qtconsole/qt.py", line 23, in <module>
QtCore, QtGui, QtSvg, QT_API = load_qt(api_opts)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/qtconsole/qt_loaders.py", line 387, in load_qt
api_options))
ImportError:
Could not load requested Qt binding. Please ensure that
PyQt4 >= 4.7, PyQt5, PySide >= 1.0.3 or PySide2 is available,
and only one is imported per session.
Currently-imported Qt library: None
PyQt4 installed: False
PyQt5 installed: False
PySide >= 1.0.3 installed: False
PySide2 installed: False
Tried to load: ['pyqt5', 'pyside2', 'pyside',
'pyqt']
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58571>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list