* [ISSUE] Add qt5-svg as dependency to ipython / matplotlib / both?
@ 2020-09-12 19:09 foopub
2020-09-12 19:28 ` ahesford
2021-01-21 17:44 ` [ISSUE] [CLOSED] " ericonr
0 siblings, 2 replies; 3+ messages in thread
From: foopub @ 2020-09-12 19:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 978 bytes --]
New issue by foopub on void-packages repository
https://github.com/void-linux/void-packages/issues/24871
Description:
Attempt to run `ipython --matplotlib` results in the following:
`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: 'pyqt5'
PyQt4 available (requires QtCore, QtGui, QtSvg): False
PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): False
PySide >= 1.0.3 installed: False
PySide2 installed: False
Tried to load: ['pyqt5']`
Which is easily fixed by installing the python3-PyQt5-svg package - although I'm not sure which package (matplotlib or ipython or both) should have it as a dependency.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Add qt5-svg as dependency to ipython / matplotlib / both?
2020-09-12 19:09 [ISSUE] Add qt5-svg as dependency to ipython / matplotlib / both? foopub
@ 2020-09-12 19:28 ` ahesford
2021-01-21 17:44 ` [ISSUE] [CLOSED] " ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ahesford @ 2020-09-12 19:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/24871#issuecomment-691535102
Comment:
Unfortunately, XBPS does not support optional dependencies. The `python3-PyQt5-svg` package is only required if the qt5 backend is used in matplotlib. Because this is a configuration option (and isn't even the default), forcing people to pull in or ignore this package isn't appropriate.
You'll just have to manually install `python3-PyQt5-svg` to support this backend.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] Add qt5-svg as dependency to ipython / matplotlib / both?
2020-09-12 19:09 [ISSUE] Add qt5-svg as dependency to ipython / matplotlib / both? foopub
2020-09-12 19:28 ` ahesford
@ 2021-01-21 17:44 ` ericonr
1 sibling, 0 replies; 3+ messages in thread
From: ericonr @ 2021-01-21 17:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Closed issue by foopub on void-packages repository
https://github.com/void-linux/void-packages/issues/24871
Description:
Attempt to run `ipython --matplotlib` results in the following:
`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: 'pyqt5'
PyQt4 available (requires QtCore, QtGui, QtSvg): False
PyQt5 available (requires QtCore, QtGui, QtSvg, QtWidgets): False
PySide >= 1.0.3 installed: False
PySide2 installed: False
Tried to load: ['pyqt5']`
Which is easily fixed by installing the python3-PyQt5-svg package - although I'm not sure which package (matplotlib or ipython or both) should have it as a dependency.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-21 17:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 19:09 [ISSUE] Add qt5-svg as dependency to ipython / matplotlib / both? foopub
2020-09-12 19:28 ` ahesford
2021-01-21 17:44 ` [ISSUE] [CLOSED] " ericonr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).