Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot install on debian trixie #864

Open
xevilstar opened this issue Dec 10, 2023 · 0 comments
Open

cannot install on debian trixie #864

xevilstar opened this issue Dec 10, 2023 · 0 comments
Labels
v2 Old version of Howdy (2.*)

Comments

@xevilstar
Copy link

xevilstar commented Dec 10, 2023

it seems that my trixie doesn't like

postinst:handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
postinst:handleStatus(subprocess.call(["pip3", "install", "--no-cache-dir", "opencv-python"]))

or maybe I am just missing something ......

apt install python3-numpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-numpy is already the newest version (1:1.24.2-1).
python3-numpy set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@ghost:/usr/src/build/howdy-2.6.1/debian# grep pip *
control:Depends: ${misc:Depends}, curl|wget, python3, python3-pip, python3-dev, python3-setuptools, libpam-python, libopencv-dev, cmake
postinst:log("Upgrading pip to the latest version")
postinst:# Update pip
postinst:handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
postinst:handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
postinst:handleStatus(subprocess.call(["pip3", "install", "--no-cache-dir", "opencv-python"]))
prerm:subprocess.call(['pip3', 'uninstall', 'dlib', '-y', '--no-cache-dir'])
grep: source: Is a directory
root@ghost:/usr/src/build/howdy-2.6.1/debian# pip3 install --upgrade pip
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.11/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.

gdebi howdy_2.6.1.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done

Howdy: Windows Hello style authentication for Linux.
Use your built-in IR emitters and camera in combination with face recognition
to prove who you are.
Do you want to install the software package? [y/N]:y
/usr/bin/gdebi:113: FutureWarning: Possible nested set at position 1
c = findall("[(/\S+[])]", msg)[0].lower()
Selecting previously unselected package howdy.
(Reading database ... 1096643 files and directories currently installed.)
Preparing to unpack howdy_2.6.1.deb ...

WARNING: Could not automatically find the right webcam, manual configuration after installation required

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]: f

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

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.11/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 (--install):
installed howdy package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.12.0-1) ...
Errors were encountered while processing:
howdy

I have python installed
python3 python3-config python-argcomplete-check-easy-install-script
python3.11 python3-futurize python-dotenv
python3.11-config python3-pasteurize
python3.12 python3-unidiff


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

Linux distribution (debian trixie/sid:

Howdy version (howdy_2.6.1.deb):

@saidsay-so saidsay-so added the v2 Old version of Howdy (2.*) label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Old version of Howdy (2.*)
Projects
None yet
Development

No branches or pull requests

2 participants