Quote:
Originally Posted by kovidgoyal
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.
|
some info...
(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 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 git

master) 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 git

master) 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.