You are not logged in.

#1 2013-10-01 10:41:45

coellobranco
Member
Registered: 2012-10-11
Posts: 83

[Solved] Problem with HPLIP

Hello, i have a problem...

$ hp-setup
  File "/usr/local/bin/hp-setup", line 112
    print ""
           ^
SyntaxError: invalid syntax

Last edited by coellobranco (2013-10-04 11:50:26)

Offline

#2 2013-10-01 10:49:10

mzneverdies
Member
Registered: 2012-02-04
Posts: 147

Re: [Solved] Problem with HPLIP

Check for errors/dependencies with hp-check

hp-setup -and other hp-scripts- uses python2, make sure is installed

Offline

#3 2013-10-01 10:50:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Problem with HPLIP

How did you install  hplip? Something tells me it's not the package from the repos.
You have to have python2 installed.

Offline

#4 2013-10-02 13:27:19

coellobranco
Member
Registered: 2012-10-11
Posts: 83

Re: [Solved] Problem with HPLIP

I install HPLIP from official repos, and... i have python2-2.7.5-2 installed...

Offline

#5 2013-10-02 13:29:49

coellobranco
Member
Registered: 2012-10-11
Posts: 83

Re: [Solved] Problem with HPLIP

hp-check:

$ sudo hp-check
  File "/usr/local/bin/hp-check", line 334
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax

Offline

#6 2013-10-02 13:34:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Problem with HPLIP

The package fro the repos doesn't install anything to /usr/local : https://www.archlinux.org/packages/extr … lip/files/
Remove that package and install it again.

Offline

#7 2013-10-04 11:50:06

coellobranco
Member
Registered: 2012-10-11
Posts: 83

Re: [Solved] Problem with HPLIP

Thanks, the problem was still remaining executables in / usr / local / bin, deleted them, and then the command did work.
Greetings.

Offline

Board footer

Powered by FluxBB