howdy icon indicating copy to clipboard operation
howdy copied to clipboard

Can't install on Mint 22.2 (Python)

Open s-h-a-d-o-w opened this issue 3 months ago • 6 comments

Presumably, this is because Python 2 is no longer shipped? It's not even possible to install it any more. At least not straightforward with apt install python2. Says that the package is not available.

Setting up howdy (2.6.1) ...
/var/lib/dpkg/info/howdy.postinst:145: SyntaxWarning: invalid escape sequence '\
w'
  "davisking-dlib-\w+/(dlib/(http_client|java|matlab|test/)|"

>>> Upgrading pip to the latest version

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
   
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
   
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
   
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation
or OS distribution provider. You can override this, at the risk of breaking your
 Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Error while running last command
dpkg: error processing package howdy (--configure):
 installed howdy package post-installation script subprocess returned error exit
 status 1
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
Errors were encountered while processing:
 howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

Linux distribution (if applicable): Mint 22.2

Howdy version (sudo howdy version): 2.6.1

s-h-a-d-o-w avatar Sep 16 '25 18:09 s-h-a-d-o-w

I get this same issue, it's after it detected the camera, turned on IR, and I selected the certainty required.

savage4618 avatar Sep 17 '25 14:09 savage4618

I have the same issue on Ubuntu 24 when trying to install howdy :(

damianOnderka avatar Sep 25 '25 09:09 damianOnderka

I got the same issue with Linux mint 22.2, and Ubuntu 24 Is there a solution already?

Lacuranas avatar Oct 08 '25 13:10 Lacuranas

I'm getting the same problem on Mint 22.1

thjaed avatar Oct 15 '25 20:10 thjaed

i haven't tried it yet but i would do what this post suggests: #976

kunningKing11 avatar Oct 30 '25 17:10 kunningKing11

I had this problem, I ended up adding a symlink for /usr/bin/python3 and it installed after that.

sudo ln -fs /usr/bin/python3 /usr/bin/python

nathan-logan avatar Nov 14 '25 05:11 nathan-logan