Installation¶
Install calibre 7.1.0+¶
Arch Linux:
$ sudo pacman -Syu --needed calibre
Other Linux distros:
$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
macOS:
Use Homebrew or download from https://calibre-ebook.com/download_osx.
$ brew install calibre
Attention
Don’t use Rosetta 2.
Windows:
Use Chocolatey or download from https://calibre-ebook.com/download_windows
# choco install calibre
Install Python 3.11+ and pip¶
You could set the Python interpreter path in the plugin preferences window if you don’t use the following methods to install Python.
Arch Linux:
$ sudo pacman -Syu --needed python-pip
Debian:
$ sudo apt install python3-pip
macOS:
$ brew install python
Attention
Don’t use Rosetta 2.
Windows:
Use Chocolatey or download from https://www.python.org/downloads
# choco install python
Attention
Do not change the default installation settings in the Python installer.
PyTorch may not support the latest Python and CUDA version.
Install CUDA or ROCm(optional)¶
CUDA or ROCm can be installed to shorten WSD processing time if you have supported GPU. You can download CUDA from https://developer.nvidia.com/cuda-toolkit-archive and ROCm from https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/quick-start.html
CUDA supported GPUs: https://developer.nvidia.com/cuda-gpus
ROCm supported GPUs: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/reference/system-requirements.html
Attention
The latest CUDA and ROCm release usually is not supported by PyTorch, read https://pytorch.org/get-started/locally to find the supported versions.
C/C++ compiler is needed for Windows, download from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
Read the installation guide on the CUDA download page for more information.
Install WordDumb plugin¶
Install KFX Input plugin(optional)¶
This step is optional if you don’t use the KFX format. The installation steps are similar to the above video.
Attention
“Create book (EBOK) instead of personal document (PDOC)” option must be selected when converting book to KFX format.