|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2023
Device: none
|
On a Linux base with python3 I can't install/setup calibre-6.23.0 ...
$ date; pwd; ls -l; file calibre-6.23.0.tar.xz; sha256sum --binary calibre-6.23.0.tar.xz
Wed 19 Jul 2023 02:58:42 PM UTC /media/user/Linux/calibre total 41880 -rwxrwxrwx 1 user user 42881840 Jul 19 13:47 calibre-6.23.0.tar.xz calibre-6.23.0.tar.xz: XZ compressed data 5d7e75d6452d2f89694aca7d253b87ac625de0ce82840e8fc1 8e5e9e7db37fc2 *calibre-6.23.0.tar.xz $ uname --all Linux debian 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux $ python3 --version Python 3.9.2 $ export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig $ sudo python3 ./setup.py install Dropping privileges to those of user: 1000 * * Running build * Package hunspell was not found in the pkg-config search path. Perhaps you should add the directory containing `hunspell.pc' to the PKG_CONFIG_PATH environment variable No package 'hunspell' found ... Package uchardet was not found in the pkg-config search path. Perhaps you should add the directory containing `uchardet.pc' to the PKG_CONFIG_PATH environment variable No package 'uchardet' found ... Traceback (most recent call last): File "/media/user/Linux/calibre/calibre-6.23.0/./setup.py", line 119, in <module> sys.exit(main()) File "/media/user/Linux/calibre/calibre-6.23.0/./setup.py", line 104, in main command.run_all(opts) File "/media/user/Linux/calibre/calibre-6.23.0/setup/__init__.py", line 239, in run_all self.run_cmd(self, opts) File "/media/user/Linux/calibre/calibre-6.23.0/setup/__init__.py", line 229, in run_cmd self.run_cmd(scmd, opts) File "/media/user/Linux/calibre/calibre-6.23.0/setup/__init__.py", line 233, in run_cmd cmd.run(opts) File "/media/user/Linux/calibre/calibre-6.23.0/setup/build.py", line 445, in run raise Exception(ext.error) Exception: ['PoDoFo not found on your system. Various PDF related', ' functionality will not work. Use the PODOFO_INC_DIR and', ' PODOFO_LIB_DIR environment variables.'] $ I have no idea why this is happening and I couldn't find a thorough step-by-step installation guideline. Perhaps the python setup can't 'run_...' these procedures because the user privileges were dropped. How can I troubleshoot this problem? I do corpora research and may have to heavily use calibre. lbrtchx |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Did you try installing calibre from the Linux install page on the calibre-ebook.com website?
The command line from there would be: Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2023
Device: none
|
that one liner worked!:
$ which calibre /usr/bin/calibre $ calibre --version calibre (calibre 6.23) $ which ebook-convert /usr/bin/ebook-convert $ ebook-convert --version ebook-convert (calibre 6.23.0) Created by: Kovid Goyal <kovid@kovidgoyal.net> $ |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Generally speaking, it seems that installing calibre using that one liner works better than using the various distro versions.
|
![]() |
![]() |
![]() |
Tags |
installation source |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python3: Install 3rd party modules | yparitcher | Kindle Developer's Corner | 0 | 12-15-2021 10:33 PM |
Cannot install Calibre Server in Ubuntu 20.04 - script keeps grabbing python3.8 | Scatershot | Server | 3 | 06-07-2020 01:08 AM |
Aura How to install python3 in Kobo Aura? | guchai25 | Kobo Reader | 0 | 11-12-2019 09:41 AM |
Linux baby needs help to install Calibre | nqk | Calibre | 3 | 08-30-2018 01:12 AM |
Calibre (Linux) Install | Clivo | Devices | 2 | 10-22-2016 12:05 PM |