|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Connoisseur
![]() Posts: 82
Karma: 10
Join Date: Jul 2017
Location: Boston
Device: Kobo Libra 2
|
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? |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,788
Karma: 150249619
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. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
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.
|
|
|
|
|
|
#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 git master) ./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 git master) pip listPackage 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 git master) pythonPython 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 git master) cat /proc/versionLinux 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.
|
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Dont use venvs. Install the dependencies in your system python.
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2022
Device: iphone12
|
Thanks, but it still doesn't work.
Quote:
Spoiler:
➜ calibre git master) python3Python 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 git master) 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 01:49 PM. |
|
|
|
|
|
|
#7 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609
Karma: 28549044
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 01:27 PM |
| Anyone performance tested the calibre 32bit vs 64 bit on Windows 7 32 bit & 64 bit? | millan | Devices | 6 | 11-07-2014 06:03 PM |
| Calibre 32-bit and 64-bit Installed; Uninstall 32-bit? | J-Mac | Calibre | 6 | 06-29-2013 07:40 AM |
| Calibre 64 bit problem | D.. | Calibre | 3 | 04-19-2013 05:26 AM |
| Problem building Calibre from source on Ubuntu 10.10 | rozen | Calibre | 1 | 03-28-2011 03:02 AM |