[GNC] Python bindings issue

Gere Kiss Zsolt zsolt.gkiss at gmail.com
Thu Aug 15 04:20:03 EDT 2024


Hi Jim,


> The obvious next question: when you installed the `python3-gnucash`
> package on your system, where exactly did it install its .py files?

On /usr/lib/python3/dist-packages:

/usr/lib/python3/dist-packages/gnucash
/usr/lib/python3/dist-packages/gnucash/__init__.py
/usr/lib/python3/dist-packages/gnucash/_gnucash_core_c.cpython-310-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/gnucash/_sw_app_utils.cpython-310-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/gnucash/_sw_core_utils.cpython-310-x86_64-linux-gnu.so
...

and /usr/lib/python3/dist-packages is in the Python sys path. I also
checked the other sys path locations, and they don't have any gnucash
modules.
I don't have other Python interpreters installed on my system (and don't
feel like fiddling with this, although the distrobox solution will do just
that).

Cheers,
--
   Zsolt

---------------------------------------------------------------------------------------------------
„We have two lives, and the second begins when we realize we only have one.”
-- Confucius


More information about the gnucash-user mailing list