SULDR Forums Supported Printers Printing Questions Scanning Questions General Questions Samsung Installer

Author Topic: Scan To PC - unresolved dependency python-pypdf  (Read 347 times)

lucky62

  • Testing the water
  • **
  • Posts: 3
    • View Profile
  • Linux Distribution: Linux Mint 19.3
  • Printer: CLX-3175FN
Scan To PC - unresolved dependency python-pypdf
« on: June 12, 2020, 06:01:01 »
Package suld-scantopc cannot be installed on Linux Mint 19.3 (maybe also on other systems based on Ubuntu)
because there is unresolved dependency to python-pypdf.

pypdf is not available (replaced by pypdf2).
This problem is commonly known.
So I used workaround (creating and installing fake package) described here:
http://zeroheure.info/how-to-install-odoo-on-latest-debian-ubuntu-without-python-pypdf-dependency/

Note that you must install pypdf by pip /pip install pypdf/.
Then I was able to install suld-scantopc.

Can someone to update the package to resolve this?

bchemnet

  • Administrator
  • *****
  • Posts: 549
    • View Profile
  • Linux Distribution: Debian Testing
  • Printer: none
Re: Scan To PC - unresolved dependency python-pypdf
« Reply #1 on: June 12, 2020, 18:15:44 »
I can change the dependency, but as far as I know the script does not work with pypdf2.  If you find otherwise, let me know.  However, given that Debian (hence Ubuntu, etc.) are in the process of removing python2 entirely from the distribution, I am not going to make changes to encourage use of pypdf itself via pip, or other python2 libraries.  All dependencies for this script should be changed to the python3 versions if it is going to remove useful, which requires rewriting the relevant portions of the code.

 

Repository Information Legal Contact Alternative Drivers