I use the python bindings regularly but I've never got any warnings or errors such as you describe. Just to cover the basics first, are you sure you didn't want to issue the venv command with the '--system-site-packages' switch? Did you have pygnucash loaded to the pip of the python you used for venv? Or instead did you make sure that in your venv you have included the path to your tinkered bindings in your PYTHONPATH? And you activated the venv before using? Sorry if this is all basic stuff you already know about.
*Mark* *episte...@gmail.com <episte...@gmail.com>* *(613) 447-5385* On Sat, Apr 18, 2020 at 10:08 AM andygoblins <andygobl...@gmx.com> wrote: > I'm tinkering with the python bindings, but I'm having trouble testing > the results of my changes. Could anyone give me some advice? > Currently, I build gnucash with ninja and then run 'python -m venv > <build dir>' to set up a virtual python environment right next to the > fresh build. But when I try to import gnucash in the virtual > environment, it doesn't load any of the backends: > WARN <gnc.engine> failed to load gncmod-backend-dbi from relative path > ERROR <gnc.engine> required library gncmod-backend-dbi not found. > WARN <gnc.engine> failed to load gncmod-backend-xml from relative path > ERROR <gnc.engine> required library gncmod-backend-xml not found. > Any ideas on how to fix my path so I can load backends in my test > environment? > _______________________________________________ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel