[pypy-issue] [issue1382] SWIG and OpenBabel
Matthew B
tracker at bugs.pypy.org
Mon Jan 28 20:53:08 CET 2013
Matthew B <mpb21 at pitt.edu> added the comment:
Hi,
That seemed to fix the compiling issues, but when I run the openbabel example
script you listed below, I get an error when it tries to import openbabel into
pypy. It throws an error in line 7 of scripts/python/openbabel.py.
sys.setdlopenflags(sys.getdlopenflags() | dl.RTLD_GLOBAL)
AttributeError: 'module' object has no attribute 'setdlopenflags'
It comes down to the sys.getdlopenflags() call. Importing sys into the pypy
interactive console, then calling sys.getdlopenflags(), throws the following
error:
>>>> import sys
>>>> sys.getdlopenflags()
Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'module' object has no attribute 'getdlopenflags'
Any tips?
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1382>
________________________________________
More information about the pypy-issue
mailing list