enable-python-bindings with jhbuild

reubano reubano at gmail.com
Mon Feb 27 10:36:42 EST 2012

I added

  append_autogenargs("gnucash", "--enable-python-bindings=yes")

to .jhbuildrc-custom and then rebuilt

  jhbuild bootstrap
  jhbuild build

Afterwhich I ran [1]

  gnucash-env python

And then the following

> Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
> darwin
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import gnucash.gnucash_core 
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: No module named gnucash.gnucash_core

What am I doing wrong?

MacOSX 10.7.2

[1] http://wiki.gnucash.org/wiki/Python_Bindings#Setting_things_up

View this message in context: http://gnucash.1415818.n4.nabble.com/enable-python-bindings-with-jhbuild-tp4424997p4424997.html
Sent from the GnuCash - Dev mailing list archive at Nabble.com.

More information about the gnucash-devel mailing list