You are not logged in.
Hey,
I'm trying to install driver for printer HP Deskjet P2055 DN. First, i installed hplip 3.17.7-1. Then I tried to install printer from terminal. Here is the output of hp-setup -i:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 33, in <module>
import cupsext
ModuleNotFoundError: No module named 'cupsext'
However Cups is well installed. Also I tried solutions proposed here:
https://bbs.archlinux.org/viewtopic.php?id=210452
https://bugs.archlinux.org/task/45358
My default Python interpreter is Python 3, but I tried the above solutions with Python 2 by putting it as the first position in my $PATH.
Thank you in advance for your help.
Last edited by Wmog (2017-09-13 15:36:17)
Offline
Post the output of
pacman -Qkk hplip
and
ls -l $(which python)
Last edited by arojas (2017-09-13 11:45:33)
Offline
pacman -Qkk hplip
outputs:
hplip: 2582 total files, 0 altered files
and
ls -l $(which python)
outputs:
lrwxrwxrwx 1 <user> <user> 9 Jun 16 11:55 /home/<user>/Libs_and_dists/anaconda3/bin/python -> python3.6
When I set Python 2 as my default interpreter the output of the latter is then:
lrwxrwxrwx 1 <user> <user> 9 Jun 16 11:50 /home/<user>/Libs_and_dists/anaconda2/bin/python -> python2.7
Offline
You are overriding the system python installation with your own local anaconda copy. This will lead to all sorts of breakage.
Offline
You are overriding the system python installation with your own local anaconda copy. This will lead to all sorts of breakage.
Problem solved. The problem stemmed from overriding the system python installation with my own local anaconda copy. I restore the native system python installation and now it works.
Thank you arojas !
Last edited by Wmog (2017-09-13 15:36:00)
Offline
arojas wrote:You are overriding the system python installation with your own local anaconda copy. This will lead to all sorts of breakage.
Problem solved. The problem stemmed from overriding the system python installation with my own local anaconda copy. I restore the native system python installation and now it works.
Thank you arojas !
How have done it?
Maybe Computers Will Never Become As Intelligent
As Humans. Surely They Won't Ever Become So Stupid.
Offline