installation fails because libgpgme cannot be found
Opened this issue · 1 comments
HerrMuellerluedenscheid commented
I ran apt install libgpgme-dev
which installed as expected.
pip install
fails with:
Collecting gpg>=1.10.0
Using cached gpg-1.10.0.tar.gz (39 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
Could not find gpgme-config. Please install the libgpgme development package.
[end of output]
On python 3.11.2
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
HerrMuellerluedenscheid commented
Stems from the gpg bindings (which are 6 years old)
https://pypi.org/project/gpg/#history
Maybe switch to python cryptography module?