howdy
howdy copied to clipboard
build: provide a seperate python3-dlib dependency package on debian
Since PEP 668, system-wide Python packages are exclusively managed by package managers, which breaks dlib
install on Debian-based OS (#774,#807). Although it's possible to override this behaviour, it can potentially break system packages. Therefore, this PR changes Debian control files to install a separate python3-dlib
dependency package.
Unfortunately, python3-dlib
doesn't exist as an official Debian package. However, since the deb
file is provided via Ubuntu PPA, it is easy to provide python3-dlib
package in the same repo with stdeb
.
pypi-download dlib
py2dsc dlib-[version].tar.gz
This will automatically build a Debian source package that can be directly uploaded to Launchpad for building.
I have successfully built the packages with the latest beta. You can find the binary packages here.
You mean that gdebi the two packages in your release will fix the issue, right?
I tried this way, but the python3-lib package's dependency libstdc++6(>13.1) is not satisfied in Debian 12
@Winson-Huang I use Debian trixie, which uses GCC 13. I rebuilt the packages on bookworm and they should work for you. They're the deb12
variant on the same release page.
Nice! I downloaded the deb12 variant, and it works on Ubuntu 23.10, just needs some extra stuff.
I had to install libinih-dev
, it ended with an error, but sudo apt --fix-broken install
fixed it.
When I tried to add a face using sudo howdy add
, it dropped an error, and requested that I run sudo howdy config
and change the device_path
value, so I did. I ls'd /dev/v4l/by-path/
, and have seen the camera devices, selected the one that end with index0, and so changed the value to /dev/v4l/by-path/pci-0000:00:1a.7-usb-0:2:1.0-video-index0
.
Now I could add a face without problems, and the authentication works!
The debian12 python3-dlib package is working with his howdy_3.0.0 package for me, but its not really stressing dlib much.
I am experiencing the same issue (cc https://github.com/boltgolt/howdy/issues/774#issuecomment-2232828419 ). However, the binaries provided in the description of this PR don't work for me.
Installation fails on python3-dlib
(and I have a version of libjpeg-turbo installed)
# sudo dpkg -i python3-dlib_19.24.2-1_amd64_deb13.deb
Selecting previously unselected package python3-dlib.
(Reading database ... 295958 files and directories currently installed.)
Preparing to unpack python3-dlib_19.24.2-1_amd64_deb13.deb ...
Unpacking python3-dlib (19.24.2-1) ...
dpkg: dependency problems prevent configuration of python3-dlib:
python3-dlib depends on python3 (<< 3.12); however:
Version of python3 on system is 3.12.3-0ubuntu1.
python3-dlib depends on libjpeg62-turbo (>= 1.3.1); however:
Package libjpeg62-turbo is not installed.
dpkg: error processing package python3-dlib (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-dlib
I was installing on Mint DE 6 (Debian 12 based) . I had python3-full installed. libjpeg62-turbo is available and should have installed. On Wednesday, July 17, 2024 at 04:20:37 AM CDT, Pierre Fenoll @.***> wrote:
I am experiencing the same issue (cc #774 (comment) ). However, the binaries provided in the description of this PR don't work for me.
Installation fails on python3-dlib (and I have a version of libjpeg-turbo installed)
sudo dpkg -i python3-dlib_19.24.2-1_amd64_deb13.deb
Selecting previously unselected package python3-dlib. (Reading database ... 295958 files and directories currently installed.) Preparing to unpack python3-dlib_19.24.2-1_amd64_deb13.deb ... Unpacking python3-dlib (19.24.2-1) ... dpkg: dependency problems prevent configuration of python3-dlib: python3-dlib depends on python3 (<< 3.12); however: Version of python3 on system is 3.12.3-0ubuntu1. python3-dlib depends on libjpeg62-turbo (>= 1.3.1); however: Package libjpeg62-turbo is not installed.
dpkg: error processing package python3-dlib (--install): dependency problems - leaving unconfigured Errors were encountered while processing: python3-dlib
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
python3 --version Python 3.11.2
On Wednesday, July 17, 2024 at 11:15:58 AM CDT, Greg McGee ***@***.***> wrote:
I was installing on Mint DE 6 (Debian 12 based) . I had python3-full installed. libjpeg62-turbo is available and should have installed. On Wednesday, July 17, 2024 at 04:20:37 AM CDT, Pierre Fenoll @.***> wrote:
I am experiencing the same issue (cc #774 (comment) ). However, the binaries provided in the description of this PR don't work for me.
Installation fails on python3-dlib (and I have a version of libjpeg-turbo installed)
sudo dpkg -i python3-dlib_19.24.2-1_amd64_deb13.deb
Selecting previously unselected package python3-dlib. (Reading database ... 295958 files and directories currently installed.) Preparing to unpack python3-dlib_19.24.2-1_amd64_deb13.deb ... Unpacking python3-dlib (19.24.2-1) ... dpkg: dependency problems prevent configuration of python3-dlib: python3-dlib depends on python3 (<< 3.12); however: Version of python3 on system is 3.12.3-0ubuntu1. python3-dlib depends on libjpeg62-turbo (>= 1.3.1); however: Package libjpeg62-turbo is not installed.
dpkg: error processing package python3-dlib (--install): dependency problems - leaving unconfigured Errors were encountered while processing: python3-dlib
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
I'm getting the same on Ubuntu 24.04. Do we need a new build? The ones available are a year old.