|
|
Thread Tools | Search this Thread |
07-20-2022, 06:46 PM | #1 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Jul 2017
Device: Kindle Paperwhite 3rd Generation
|
Problem building calibre 32-bit - 'QtCore/QtCoremod.sip' could not be found
I'm trying to build calibre from git for a 32-bit Debian system. I believe I've installed all build dependencies, but I'm getting this error on setup.py bootstrap:
Code:
Generating the rcc_backend bindings... -c: (...)/src/calibre/build/pyqt/rcc_backend/rcc.sip: line 19 column 9: 'QtCore/QtCoremod.sip' could not be found I'm stuck for next steps. Any tips? Alternatively, does anyone have prebuilt 32 binaries? |
07-20-2022, 06:50 PM | #2 |
Resident Curmudgeon
Posts: 74,149
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Qt6 is 64-bit only. So to install Calibre 6, you need a 64-bit OS.
The last 32-bit version is 5.44. |
07-20-2022, 10:48 PM | #3 |
creator of calibre
Posts: 43,888
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
google that error you will find lots of tips. typically it is caused by using a different python than the one PyQt is installed in.
|
08-06-2022, 05:42 AM | #4 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: iphone12
|
I had a similar problem that bothered me for several days
Quote:
(venv) ➜ calibre gitmaster) ./setup.py build --debug * * Running build * Building 27 extensions SIPing 4 files... /home/xyz/OpenSourceProjects/calibre/venv/bin/python -c from sipbuild.tools.build import main; main(); --verbose --no-make --qmake /usr/bin/qmake Querying qmake about your Qt installation... /usr/bin/qmake -query These bindings will be built: rcc_backend. Generating the rcc_backend bindings... -c: /home/xyz/OpenSourceProjects/calibre/build/pyqt/rcc_backend/rcc.sip: line 19 column 9: 'QtCore/QtCoremod.sip' could not be found (venv) ➜ calibre gitmaster) pip list Package Version ------------ ------- packaging 21.3 pip 22.2.1 ply 3.11 pyparsing 3.0.9 PyQt-builder 1.13.0 PyQt6 6.3.1 PyQt6-Qt6 6.3.1 PyQt6-sip 13.4.0 setuptools 57.0.0 sip 6.6.2 toml 0.10.2 wheel 0.36.2 (venv) ➜ calibre gitmaster) python Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. (venv) ➜ calibre gitmaster) cat /proc/version Linux version 5.15.0-43-generic (buildd@lcy02-amd64-026) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #46~20.04.1-Ubuntu SMP Thu Jul 14 15:20:17 UTC 2022 ----- 64bit ubuntu 20.04.1 LTS system I've tried many methods, but they can't work. Can you help me. |
|
08-06-2022, 08:35 AM | #5 |
creator of calibre
Posts: 43,888
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont use venvs. Install the dependencies in your system python.
|
08-06-2022, 10:31 AM | #6 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: iphone12
|
Thanks, but it still doesn't work.
Quote:
Spoiler:
➜ calibre gitmaster) python3 Python 3.8.10 (default, Jun 22 2022, 20:18:18) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. ➜ calibre gitmaster) python3 setup.py build * * Running build * Building 27 extensions SIPing 4 files... /usr/bin/python3 -c from sipbuild.tools.build import main; main(); --verbose --no-make --qmake /usr/bin/qmake Querying qmake about your Qt installation... /usr/bin/qmake -query These bindings will be built: rcc_backend. Generating the rcc_backend bindings... -c: /home/xyz/OpenSourceProjects/calibre/build/pyqt/rcc_backend/rcc.sip: line 19 column 9: 'QtCore/QtCoremod.sip' could not be found I also tried to install pyqt5、pyqt5-qt5、pyqt5-sip, but it still doesn't work.Not even after uninstalling. Last edited by theducks; 08-06-2022 at 12:49 PM. |
|
08-06-2022, 11:11 PM | #7 |
creator of calibre
Posts: 43,888
Karma: 22666668
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need pyqt6 not pyqt5
|
Tags |
+compile, qtcoremod |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Calibre 2.57.1 (64 bit) | ThSpeck | Devices | 10 | 06-22-2016 12:27 PM |
Anyone performance tested the calibre 32bit vs 64 bit on Windows 7 32 bit & 64 bit? | millan | Devices | 6 | 11-07-2014 05:03 PM |
Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? | J-Mac | Calibre | 6 | 06-29-2013 06:40 AM |
Calibre 64 bit problem | D.. | Calibre | 3 | 04-19-2013 04:26 AM |
Problem building Calibre from source on Ubuntu 10.10 | rozen | Calibre | 1 | 03-28-2011 02:02 AM |