View Single Post
Old 08-06-2022, 05:42 AM   #4
noogel666
Junior Member
noogel666 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: iphone12
I had a similar problem that bothered me for several days

Quote:
Originally Posted by kovidgoyal View Post
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 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.


noogel666 is offline   Reply With Quote