[GNC] GNUCash Python bindings not working standalone on debian 13

gnucash.worrier724 at simplelogin.com gnucash.worrier724 at simplelogin.com
Thu Feb 12 12:56:47 EST 2026


First post here, no idea if I am doing this right...

Issue: gnucash python bindings cannot be used when installed via the steps in the wiki

Steps to repro:


-   Clean debian 13 install
-   # apt install python3-gnucash
-   $ python3
-   >>> import gnucash


At this point i expect to be off to the races, but instead i get an error:

Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import gnucash
  File "/usr/lib/python3/dist-packages/gnucash/__init__.py", line 6, in <module>
    from gnucash.gnucash_core import *
  File "/usr/lib/python3/dist-packages/gnucash/gnucash_core.py", line 165, in <module>
    from gnucash import gnucash_core_c
  File "/usr/lib/python3/dist-packages/gnucash/gnucash_core_c.py, line 10, in <module>
    from . import _gnucash_core_c
ImportError: libgnc-app-utils.so: cannot open shared object file: No such file or directory

Installing the gnucash apt package fixes the error, but since apt is not the fastest to update, I have gnucash installed via flatpak on my main setup. 

Fixes: IMO either the wiki should make mention of the soft dep, or the apt package should pick out whatever dependencies it needs so that the bindings can be installed standalone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 343 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20260212/cb537222/attachment.sig>


More information about the gnucash-user mailing list