Setup of HP ScanJet Pro 2000 s2 on Ubuntu 18.04 fails
Got an HP ScanJet Pro 2000 s2 scanner and want to use it with Ubuntu 18.04. The installation fails although it was carried out exactly according to the instructions.
Neither hplip-3.20.6.run
hplip-3.20.11.run (automatic installation) run without errors.
First error message:
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
Tried to install opencv-python with apt but it's not in the repositories. Found python3-opencv and installed it. Same error message.
Second error message:
After every installation I get: No system tray detected on this system. Unable to start, exiting.
Additional question:
I have 30 days to return the scanner and would then buy the HP ScanJet Pro 3000 s4 which also accepts the Twain standard. Would I have fewer problems there?
Many thanks in advance.
Klaus
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2021-02-06
- Last reply:
- 2021-02-06
Manfred Hampl (m-hampl) said : | #1 |
For diagnostic purposes please provide the output that you receive for the following commands:
uname -a
lsb_release -crid
apt-cache policy python-opencv python3-opencv
sudo -H pip2 install opencv-python
Klaus Bogotz (klabog) said : | #2 |
Hi Manfred,
following the requested informations.
Thanks for your interest!
Klaus
uname -a:
Linux acer-3 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -crid:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
apt-cache policy python-opencv python3-opencv:
python-opencv:
Installiert: (keine)
Installation
Versionstabelle:
3.
500 http://
amd64 Packages
500 http://
amd64 Packages
3.
500 http://
Packages
python3-opencv:
Installiert: 3.2.0+dfsg-
Installation
Versionstabelle:
*** 3.2.0+dfsg-
500 http://
amd64 Packages
500 http://
amd64 Packages
100 /var/lib/
3.
500 http://
Packages
sudo -H pip2 install opencv-python:
DEPRECATION: Python 2.7 reached the end of its life on January 1st,
2020. Please upgrade your Python as Python 2.7 is no longer maintained.
pip 21.0 will drop support for Python 2.7 in January 2021. More details
about Python 2 support in pip can be found at
https:/
pip 21.0 will remove support for this functionality.
Collecting opencv-python
Using cached opencv-
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python
/usr/local/
get_requires_
cwd: /tmp/pip-
Complete output (22 lines):
Traceback (most recent call last):
File
"/usr/local/
line 280, in <module>
main()
File
"/usr/local/
line 263, in main
File
"/usr/local/
line 114, in get_requires_
return hook(config_
File
"/tmp/pip-
line 146, in get_requires_
return self._get_
requirements=
File
"/tmp/pip-
line 127, in _get_build_requires
File
"/tmp/pip-
line 243, in run_setup
File
"/tmp/pip-
line 142, in run_setup
File "setup.py", line 448, in <module>
main()
File "setup.py", line 99, in main
% {"ext": re.escape(
File "/usr/lib/
s = list(pattern)
TypeError: 'NoneType' object is not iterable
----
ERROR: Command errored out with exit status 1: /usr/bin/python
/usr/local/
get_requires_
command output.
Manfred Hampl (m-hampl) said : | #3 |
"Tried to install opencv-python with apt but it's not in the repositories."
It is named python-opencv in the Ubuntu repositories.
Klaus Bogotz (klabog) said : | #4 |
Installed "python-opencv" manually because the script
"hplip-3.20.11.run" tries to install "opencv-python" which is the wrong
name.
I don't remember all steps I did, but got an error which told me to
install "hp-plugin" manually which gave the following error:
"Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed."
I should mention, that I had to plugin the scanner into an USB 2.0 port,
because with USB 3.0 there was no reaction plugging in and out.
The scanner still not is recognized. Further help would be appreciated.
Klaus
Am 06.02.21 um 15:25 schrieb Manfred Hampl:
> Your question #695389 on HPLIP changed:
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> "Tried to install opencv-python with apt but it's not in the
> repositories."
>
> It is named python-opencv in the Ubuntu repositories.
>
Manfred Hampl (m-hampl) said : | #5 |
You can manually download the plugin installer from https:/
Can you help with this problem?
Provide an answer of your own, or ask Klaus Bogotz for more information if necessary.