I've built and installed the latest openbabel revision 3967 There are no errors reported, babel runs fine. I get an error from python on import openbabel I've set my PYTHONPATH to the new /usr/local/lib/python2.6/dist-packages and get this Any ideas what might be happening?
TJ O'Donnell >>> import openbabel import openbabel # from /usr/local/lib/python2.6/dist-packages/openbabel.py # can't create /usr/local/lib/python2.6/dist-packages/openbabel.pyc dlopen("/usr/lib/python2.6/lib-dynload/dl.so", 2); import dl # dynamically loaded from /usr/lib/python2.6/lib-dynload/dl.so # /usr/lib/python2.6/new.pyc matches /usr/lib/python2.6/new.py import new # precompiled from /usr/lib/python2.6/new.pyc import imp # builtin dlopen("/usr/local/lib/python2.6/dist-packages/_openbabel.so", 102); # /usr/lib/python2.6/re.pyc matches /usr/lib/python2.6/re.py import re # precompiled from /usr/lib/python2.6/re.pyc # /usr/lib/python2.6/sre_compile.pyc matches /usr/lib/python2.6/sre_compile.py import sre_compile # precompiled from /usr/lib/python2.6/sre_compile.pyc import _sre # builtin # /usr/lib/python2.6/sre_parse.pyc matches /usr/lib/python2.6/sre_parse.py import sre_parse # precompiled from /usr/lib/python2.6/sre_parse.pyc # /usr/lib/python2.6/sre_constants.pyc matches /usr/lib/python2.6/sre_constants.py import sre_constants # precompiled from /usr/lib/python2.6/sre_constants.pyc Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.6/dist-packages/openbabel.py", line 70, in <module> _openbabel = swig_import_helper() File "/usr/local/lib/python2.6/dist-packages/openbabel.py", line 66, in swig_import_helper _mod = imp.load_module('_openbabel', fp, pathname, description) ImportError: dynamic module does not define init function (init_openbabel) ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss