Import error !!
satish k.chimakurthi
skchim0 at engr.uky.edu
Tue Aug 19 22:21:14 EDT 2003
Hello all,
I am trying to import a module which was generated by a PYTHON-C++ interface
generator tool, which failed, and generated the following error :
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: /home/world0/OVERTURE/Overture.v19/lib/libRapsodi.so: undefined
symbol: __as__17ReferenceCountingRC17ReferenceCounting
I then, did the following hoping to trace the fault
python -v
# /usr/lib/python1.5/exceptions.pyc matches /usr/lib/python1.5/exceptions.py
import exceptions # precompiled from /usr/lib/python1.5/exceptions.pyc
# /usr/lib/python2.2/site.pyc has bad magic
'import site' failed; traceback:
File "/usr/lib/python2.2/site.py", line 64
dir = os.path.abspath(os.path.join(*paths))
^
SyntaxError: invalid syntax
Python 1.5.2 (#1, Apr 3 2002, 18:16:26) [GCC 2.96 20000731 (Red Hat Linux
7.2 2 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
import readline # dynamically loaded from
/usr/lib/python1.5/lib-dynload/readline.so
I don't understand much from the above. Can someone suggest what this means ??
Sorry if I have overlooked anything
Thanks in advance,
Regards,
SATISH
More information about the Python-list
mailing list