Gnucash Python files on x86_64 are put into /usr/lib while the binary Python module _gnucash_core_c.so is in /usr/lib64. Therefore I can't import the gnucash module:
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00)
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
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/python2.7/site-packages/gnucash/__init__.py", line 6, in <module>
from gnucash_core import *
File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core.py", line 31, in <module>
File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core_c.py", line 25, in <module>
_gnucash_core_c = swig_import_helper()
File "/usr/lib/python2.7/site-packages/gnucash/gnucash_core_c.py", line 17, in swig_import_helper
ImportError: No module named _gnucash_core_c
Fixed in -2.
gnucash-2.4.7-3.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnucash-2.4.7-3.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
gnucash-2.4.7-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.