Never mind. As is often the case when I send a question to this list, my issue turns out to be user error. I needed to update the PYTHONPATH variable to look for the correct location for site-packages
Thanks as always for the great support in this forum! Robin On Sat, Aug 31, 2024 at 9:58 AM Robin Chattopadhyay <robinra...@gmail.com> wrote: > Hi- > > After building/installing 5.8 from source, I noticed an issue with my > Python scripts that were working with 5.3 that I also built from source. > > When running gnucash from the command line or in an interactive session of > Python, I get this when trying 'import gnucash' > > python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import gnucash > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > 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 34, > in <module> > from gnucash import gnucash_core_c > File "/usr/lib/python3/dist-packages/gnucash/gnucash_core_c.py", line > 13, in <module> > from . import _gnucash_core_c > ImportError: /usr/lib/python3/dist-packages/gnucash/_ > gnucash_core_c.cpython-310-x86_64-linux-gnu.so: undefined symbol: > string_to_gnc_numeric > > My OS is Ubuntu 22.04 LTS virtual machine. > > I have since reverted to 5.3, but I would really like to go back to 5.8 > because of the updated auto-complete features. > _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org 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.