Hi All
I'm trying to import sqlite3 in a program embedded in an c++ ecap module.
Everithing goes well when running from python, but when running from C++ I
get this exception:
'Traceback (most recent call last):
', ' File "/usr/local/squid/bin/putAdds.py", line 4, in <module>
import sqlite3
', ' File "/usr/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
', ' File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 24, in <module>
import datetime
', 'ImportError: /usr/lib/python2.7/lib-dynload/datetime.i386-linux-gnu.so:
undefined symbol: PyExc_SystemError
Any ideas on how to solve that? must I compile the datetime module with
some special feature
I'm running this in a Ubuntu 13.04 machine
Thanks in advance
Abdul