![]() |
#1 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Apr 2016
Device: none
|
Problems installing a package for Sigil
Hi everyone! I'm running Mint Cinnamon 20.3. I'm trying to build Sigil, but I ran into some trouble. The guide I'm following is this one: https://github.com/Sigil-Ebook/Sigil...ng_on_Linux.md
The problem step is the command "sudo apt-get install python3-tk python3-pyqt5 python3-pyqtwebengine python3-html5lib python3-regex python3-pillow python3-cssselect python3-chardet" The command fails because I can't install the package python3-pyqtwebengine. When I break up the packages individually, this happens: $sudo apt-get install python3-pyqtwebengine Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3-pyqtwebengine So I try this, but still fail: $pip3 install python3-pyqtwebengine ERROR: Could not find a version that satisfies the requirement python3-pyqtwebengine (from versions: none) ERROR: No matching distribution found for python3-pyqtwebengine Any suggestions about how to proceed? Having access to Sigil plugins might be helpful. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The package might be named python3-pyqt5.qtwebengine in some repos. Try that with apt-get install first. You shouldn't need to resort to pip, but if you do, the pypi.org package name would be PyQtWebEngine.
Last edited by DiapDealer; 05-06-2022 at 06:30 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Seems the naming scheme of python3-pyqt5.xxxx has become pretty standard on debian/ubuntu-based flavors of Linux for the extra PyQt5 modules like webengine, webchannel and the like. Not sure when that happened, but I'll update the documentation to account for it. Thanks for bringing it to my attention.
|
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 36
Karma: 10
Join Date: Apr 2016
Device: none
|
Thanks DiapDealer! python3-qt5.qtwebengine worked perfectly. By the way, did you change package name libpcre3-dev to libpcre2-dev recently or is that my imagination?
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes I did. We updated Sigil to use the newer pcre2. The libpcre3 package is actually the older pcre for some weird reason. It's really only a factor if you build Sigil with the -DSYSTEM_LIBS_REQUIRED=1 cmake define. Otherwise the correct pcre2 that's bundled with Sigil's source will be used (if a system version of pcre2 can't be located).
If Sigil built for you with no fatal failures, rest assured that the correct version of pcre was used. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems installing Sigil on MacBook Air | Ashjuk | Sigil | 11 | 03-02-2021 10:10 AM |
Unofficial Self-Contained Sigil Package/Installer for Linux | DiapDealer | Sigil | 15 | 01-27-2018 05:15 PM |
Yet Another New Sigil-0.9.8 Mac Package | KevinH | Sigil | 5 | 04-29-2017 10:15 AM |
Problems installing Sigil for Mac | Johan Steenhoek | Sigil | 2 | 03-19-2013 06:07 AM |
Problems installing Sigil 0.6.0. | avresbo | Sigil | 10 | 10-30-2012 02:23 PM |