Python bindings in GnuCash portable

Geert Janssens janssens-geert at telenet.be
Wed Apr 23 05:54:49 EDT 2014


On Tuesday 22 April 2014 08:45:56 david_lynch wrote:
> I am running GnuCash 2.6.3 portable on Windows Vista SP2.
> 
> I am trying to use python to input share prices (modifying
> http://wiki.gnucash.org/wiki/Stocks/get_prices ), because other
> methods don't work.
> 
> The list archives seem to indicate that python bindings for windows
> are problematic. However, the change log for GnuCash portable implies
> they are implemented.
> 
> I get the error message:
> 
>      from gnucash import Session, Account, Split
> ImportError: No module named gnucash
> 
> How do I get the code
>       from gnucash import Session, Account, Split
> to work, please?
> 
> David Lynch

David,

GnuCash portable is an independent project. You will have to ask their support channel how 
to resolve this issue.

The Windows GnuCash installer that can be found on the official gnucash website does not 
support python bindings.

Geert


More information about the gnucash-user mailing list