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.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to