Hi All,
Please bear with me - I'm totally new to Python, but experienced with C and
Perl.
I have been tasked with creating a method of accessing an API written in
Python from Perl. So far, so good - Inline::Python has been able to do
everthing that I need, except for one thing: the python scripts I am using
are written to use the zlibmodule.so. Unfortunately, every time I try to use
Inline::Python with any code that uses .so modules, I get an error like
this:
[bob@my1]:~/python$ perl t.pl
Traceback (innermost last):
File "<string>", line 12, in ?
File "summitapi_bob.py", line 22, in ?
import zlib
ImportError: /usr/lib/python1.5/lib-dynload/zlibmodule.so: undefined symbol:
PyExc_ValueError
Couldn't parse your Python code.
at t.pl line 3
BEGIN failed--compilation aborted at t.pl line 3.
Does anyone know of a way to get around this error, or as an alternative,
does anyone know of a way to do a zlib.decompress in python w/o the .so
module?
Any assistance at all is greatly appreciated. If you need any info I didn't
provide, please let me know - this puzzle is driving me nuts, and i know
that there has to be a way around it :)
Thanks,
Bob Vastine-Parker
Global Domains Intl.
[EMAIL PROTECTED]
http://www.WebSite.WS
P: 760.602.3000 x5201
F: 760.602.3099