0

ubuntu22.04: On ubuntu22.04, an error occurred when I installed calibre using the command officially recommended by calibre: sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin` The output of the command:

Using python executable: /usr/bin/python3
2022-11-28 12:49:39 URL:https://download.calibre-ebook.com/linux-installer.sh [33639/33639] -> "-" [1]
Installing to /opt/calibre
Downloading tarball signature securely...
Using previously downloaded calibre-6.9.0-x86_64.txz
Extracting files to /opt/calibre ...
Extracting application files... 
Creating symlinks...
    Symlinking /opt/calibre/ebook-device to /usr/bin/ebook-device
    Symlinking /opt/calibre/ebook-meta to /usr/bin/ebook-meta
    Symlinking /opt/calibre/ebook-convert to /usr/bin/ebook-convert
    Symlinking /opt/calibre/ebook-polish to /usr/bin/ebook-polish
    Symlinking /opt/calibre/markdown-calibre to /usr/bin/markdown-calibre
    Symlinking /opt/calibre/web2disk to /usr/bin/web2disk
    Symlinking /opt/calibre/calibre-server to /usr/bin/calibre-server
    Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
    Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
    Symlinking /opt/calibre/calibre-debug to /usr/bin/calibre-debug
    Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
    Symlinking /opt/calibre/calibre-parallel to /usr/bin/calibre-parallel
    Symlinking /opt/calibre/calibre-customize to /usr/bin/calibre-customize
    Symlinking /opt/calibre/fetch-ebook-metadata to /usr/bin/fetch-ebook-metadata
    Symlinking /opt/calibre/calibre-smtp to /usr/bin/calibre-smtp
    Symlinking /opt/calibre/calibre to /usr/bin/calibre
    Symlinking /opt/calibre/lrfviewer to /usr/bin/lrfviewer
    Symlinking /opt/calibre/ebook-viewer to /usr/bin/ebook-viewer
    Symlinking /opt/calibre/ebook-edit to /usr/bin/ebook-edit
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/
Failed to import PyQt module: PyQt6.QtWebEngineCore with error: /opt/calibre/lib/libQt6WebEngineCore.so.6: undefined symbol: FT_Palette_Select

____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________


    Traceback (most recent call last):
      File "calibre/linux.py", line 831, in setup_completion
      File "calibre/linux.py", line 574, in write_completion
      File "bypy-importer.py", line 279, in exec_module
      File "calibre/gui2/viewer/main.py", line 15, in <module>
      File "bypy-importer.py", line 279, in exec_module
      File "calibre/gui2/viewer/ui.py", line 29, in <module>
      File "bypy-importer.py", line 279, in exec_module
      File "calibre/gui2/viewer/annotations.py", line 13, in <module>
      File "bypy-importer.py", line 279, in exec_module
      File "calibre/gui2/viewer/web_view.py", line 14, in <module>
    ImportError: cannot import name 'QWebEnginePage' from 'qt.webengine' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/webengine.pyc)

Setting up desktop integration...
Creating un-installer: /usr/bin/calibre-uninstall


There were 1 warnings

* Setting up completion failed with error:

Run "calibre" to start calibre 

` I want to know what caused this mistake and how to solve it,I hope I can install and use calibre normally

0 Answers0