With all dependencies installed, I have the following error messages:
Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/krop/pdfcropper.py", line 28, in <module> from pyPdf import PdfFileReader, PdfFileWriter ModuleNotFoundError: No module named 'pyPdf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/krop", line 33, in <module> sys.exit(load_entry_point('krop', 'console_scripts', 'krop')()) File "/usr/lib/python3.9/site-packages/krop/application.py", line 81, in main from krop.mainwindow import MainWindow File "/usr/lib/python3.9/site-packages/krop/mainwindow.py", line 46, in <module> from krop.pdfcropper import PdfFile, PdfCropper, PdfEncryptedError, optimizePdfGhostscript File "/usr/lib/python3.9/site-packages/krop/pdfcropper.py", line 34, in <module> raise RuntimeError(_msg) RuntimeError: Please install PyPDF2 (or its predecessor pyPdf) first. On recent versions of Ubuntu, the following should do the trick: sudo apt-get install python-pypdf2 (or, if using python3) sudo apt-get install python3-pypdf2
Any solution? Thanks in advance.
Pinned Comments
XavierCLL commented on 2020-06-19 23:18 (UTC) (edited on 2020-07-01 17:44 (UTC) by XavierCLL)
If you get this error
RuntimeError: Please install popplerqt5 first
rebuildpython-poppler-qt5
from AUR, NOT use the binary from some unofficial repository, sometimes it happens with those unofficial repos that some libraries are out of sync with the latest version of python