2 ms·
I'm building it now with PyQt from source on ubuntu-20.04 since PyQt5-sip is missing from OS packages. Isn't this (a 50-minute build time on a popular distro) s
by xuhu 6y ago
I'm building it now with PyQt from source on ubuntu-20.04 since PyQt5-sip is missing from OS packages. Isn't this (a 50-minute build time on a popular distro) seen as a big barrier to adoption ?
- The-Compiler 6y ago> since PyQt5-sip is missing from OS packages Arguably this is a Ubuntu (Debian?) packaging bug. Upstream recommends using "PyQt5.sip" ever since PyQt 5.11, yet Ubuntu seems to package PyQt 5.14 but retaining the old "sip" name. I wasn't aware of it, or I would've kept the (quite small) compatibility shim in v2.0.0 - I opened an issue here: https://github.com/qutebrowser/qutebrowser/issues/6082 https://github.com/qutebrowser/qutebrowser/issues/6082 In the meantime, you could probably symlink it instead: ln -s /usr/lib/python3/dist-packages/sip.cpython-38-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/PyQt5/ (Though you'll then run into the next issue, apparently Ubuntu 20.04 doesn't have importlib_resources packaged: https://github.com/qutebrowser/qutebrowser/issues/6084 https://github.com/qutebrowser/qutebrowser/issues/6084 ...) Alternatively, either use the Ubuntu "qutebrowser" package (pre-v2.0.0), or install in a virtualenv instead: https://github.com/qutebrowser/qutebrowser/blob/master/doc/install.asciidoc#installing-qutebrowser-with-virtualenv https://github.com/qutebrowser/qutebrowser/blob/master/doc/i... There's an option there to install a binary Qt/PyQt from PyPI, so you don't need to build anything from source. However, note that it comes without proprietary codec support.
- Y_Y 6y agoI consider it a rare pleasure.