View Single Post
Old 08-06-2022, 10:31 AM   #6
noogel666
Junior Member
noogel666 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2022
Device: iphone12
Thanks, but it still doesn't work.

Quote:
Originally Posted by kovidgoyal View Post
Dont use venvs. Install the dependencies in your system python.
Spoiler:


➜ calibre gitmaster) pip list
Package Version
----------------------- --------------------
apsw 3.39.2.0
apturl 0.5.2
bcrypt 3.1.7
blinker 1.4
Brlapi 0.7.0
certifi 2019.11.28
chardet 3.0.4
Click 7.0
colorama 0.4.3
command-not-found 0.3
cryptography 2.8
cupshelpers 1.0
dbus-python 1.2.16
defer 1.0.6
distro 1.4.0
distro-info 0.23ubuntu1
duplicity 0.8.12.0
entrypoints 0.3
fasteners 0.14.1
future 0.18.2
html5lib 1.1
httplib2 0.14.0
idna 2.8
keyring 18.0.1
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
lockfile 0.12.2
louis 3.12.0
lxml 4.9.1
macaroonbakery 1.3.1
Mako 1.1.0
MarkupSafe 1.1.0
mechanize 0.4.8
monotonic 1.5
netifaces 0.10.4
oauthlib 3.1.0
olefile 0.46
packaging 21.3
paramiko 2.6.0
pexpect 4.6.0
Pillow 7.0.0
pip 22.2.1
ply 3.11
protobuf 3.6.1
PyBluez 0.22
pycairo 1.16.2
pycryptodomex 3.6.1
pycups 1.9.73
PyGObject 3.36.0
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.3.0
pyparsing 3.0.9
PyQt-builder 1.13.0
PyQt6 6.3.1
PyQt6-Qt6 6.3.1
PyQt6-sip 13.4.0
pyRFC3339 1.1
python-apt 2.0.0+ubuntu0.20.4.7
python-dateutil 2.7.3
python-debian 0.1.36ubuntu1
pytz 2019.3
pyxdg 0.26
PyYAML 5.3.1
regex 2022.7.25
reportlab 3.5.34
requests 2.22.0
requests-unixsocket 0.2.0
screen-resolution-extra 0.0.0
SecretStorage 2.3.1
setuptools 45.2.0
simplejson 3.16.0
sip 6.6.2
six 1.14.0
systemd-python 234
toml 0.10.2
ubuntu-advantage-tools 27.6
ubuntu-drivers-common 0.0.0
ufw 0.36
unattended-upgrades 0.1
urllib3 1.25.8
usb-creator 0.3.7
wadllib 1.3.3
webencodings 0.5.1
wheel 0.34.2
xkit 0.0.0




➜ 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.
noogel666 is offline   Reply With Quote