Не могу завести принтер НР. Перепробовал разные мануалы. При запуске hp-setup -i идёт ругань:
/usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*'
("To specify the port on a multi-port JetDirect:", "--port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),
/usr/bin/hp-setup:86: SyntaxWarning: invalid escape sequence '\*'
("Type of queue(s) to install:", "-t<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False),
/usr/share/hplip/base/g.py:305: SyntaxWarning: invalid escape sequence '\|'
spinner = "\|/-\|/-"
/usr/share/hplip/base/g.py:355: SyntaxWarning: invalid escape sequence '\d'
m = re.search('python(\d(\.\d){0,2})', ext_path) #get the python version where the .so file is found
/usr/share/hplip/base/logger.py:438: SyntaxWarning: invalid escape sequence '\<'
elem_start = re.findall("(\<\W{0,1}\w+) ?", line)[0]
/usr/share/hplip/base/logger.py:439: SyntaxWarning: invalid escape sequence '\]'
elem_finished = re.findall("([?|\]\]]*\>)", line)[0]
/usr/share/hplip/base/logger.py:441: SyntaxWarning: invalid escape sequence '\S'
attrs = re.findall("(\S*?\=\".*?\")", line)
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 47, in <module>
from base.g import *
File "/usr/share/hplip/base/g.py", line 240, in <module>
sys_conf = SysConfig()
^^^^^^^^^^^
File "/usr/share/hplip/base/g.py", line 185, in __init__
ConfigBase.__init__(self, '/etc/hp/hplip.conf')
File "/usr/share/hplip/base/g.py", line 90, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 131, in read
self.conf.readfp(fp)
^^^^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
Может у кого есть какие соображения?