I haven't found a way of instructing pip to skip failures.
One option would be to comment out the lines in *setup.py:user_requires*
that involve pyqt, and then `pip install --editable path/to/leo-code` as
normal.
Just the 1st two I think:
user_requires = [
#'PyQt5 >= 5.12, < 5.13', # v5.12+ to close #1217
#'PyQtWebEngine < 5.13', # #1202 QtWebKit needs to be installed
separately starting Qt 5.6
'asttokens', # abstract syntax tree text parsing
'docutils', # used by Sphinx, rST plugin
'flexx', # for LeoWapp browser gui
'meta', # for livecode.py plugin, which is enabled by default
'nbformat', # for Jupyter notebook integration
'pylint', 'pyflakes', 'black', # coding syntax standards
'setupext-janitor >= 1.1', # extend `setup.py clean` #1055,#1255
'pyshortcuts >= 1.7', # desktop integration (#1243)
'sphinx', # rST plugin
'windows-curses; platform_system=="Windows"', # for console mode on
Windows
]
2nd option would be to just run `python launchLeo.py --gui=console`
iteratively and manually pip install each "failed to import xxxx" module
until it works.
-matt
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/8de0c923-c278-47c0-8590-6b1cc9b1b429%40googlegroups.com.