Comment 11 for bug 1354731

Revision history for this message
In , Billie-gentoo (billie-gentoo) wrote :

(In reply to Fab from comment #4)
> Yes, I'm using python3 as default python interpreter, but after switching
> back to python2.7, the error is still the same, even after reloading my
> desktop session.
> Are you able to reproduce with python3 but not with python2 ? Thanks.

Here it works regardless of the default interpreter. After thinking about it this is the way it should be. hplip currently only works with python2, so the setup forces python2 regardless of the default interpreter.

From the error message you get it looks like the issue is caused by the python2 vs python3 issue I mentioned on the upstream bug however.

Can you check if the python files in /usr/share/hplip/ have the correct shebangs? They should read:
#!/usr/bin/env python2.7
or
#!/usr/bin/python2.7