howdy: FileNotFoundError: [Errno 2] No such file or directory: 'pip3'

FileNotFoundError: [Errno 2] No such file or directory: 'pip3'

occurs when installing from the repo, as per instruction for Ubuntu from the main GitHub page (added repo, updated, then the installation command like below). As result howdy is not installed as a command (which howdy returns nothing).

$ sudo apt install howdy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  nvidia-cuda-dev
The following NEW packages will be installed:
  howdy
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/38,9 kB of archives.
After this operation, 166 kB of additional disk space will be used.
Selecting previously unselected package howdy.
(Reading database ... 214619 files and directories currently installed.)
Preparing to unpack .../archives/howdy_2.6.1_all.deb ...
Starting IR camera check...

Trying "Integrated Camera: Integrated I"
One of your cameras should now be on.
Did your IR emitters turn on? [y/N]: y

Starting certainty auto config...


After detection, Howdy knows how certain it is that the match is correct.
How certain Howdy needs to be before authenticating you can be customized.

F: Fast.
Allows more fuzzy matches, but speeds up the scanning process greatly.

B: Balanced.
Still relatively quick detection, but might not log you in when further away.

S: Secure.
The safest option, but will take much longer to authenticate you.

You can always change this setting in the config.
What profile would you like to use? [f/b/s]: s

Unpacking howdy (2.6.1) ...
Setting up howdy (2.6.1) ...

>>> Upgrading pip to the latest version

Traceback (most recent call last):
  File "/var/lib/dpkg/info/howdy.postinst", line 110, in <module>
    handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
  File "/usr/lib/python3.9/subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pip3'
dpkg: error processing package howdy (--configure):
 installed howdy package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
 howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ which pip3
/usr/local/bin/pip3
$ pip3 --version
pip 21.3 from /usr/local/lib/python3.9/dist-packages/pip (python 3.9)


I’ve searched for similar issues already, and my issue has not been reported yet. 😃

Linux distribution (if applicable): Ubuntu 21.04

Howdy version (sudo howdy version): 2.6.1

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 3
  • Comments: 19 (3 by maintainers)

Most upvoted comments

sudo pip3 list Here, it is an error caused by my insufficient permission. pip3 install --upgrade pip

Another away to fix the problem, sudo ln -sv $(which pip3) /usr/bin/pip3

I also got this on Ubuntu 21.10 the second time I installed it. Worked first time, but when I uninstalled it and installed it again it failed.

Same problem, solved by doing: sudo apt remove --purge howdy sudo apt install --reinstall python3-pip sudo apt install howdy It works now after a complete re-installation of howdy, I don’t know what was wrong… Maybe the path to pip3 but I’m not sure and didn’t check…

I also got this on Ubuntu 21.10 the second time I installed it. Worked first time, but when I uninstalled it and installed it again it failed.

One fix would be to open the .deb with the archive manager and replacing pip3 with /usr/local/bin/pip3 in the postinst file. I guess. Not sure what’s going on here