Import Error: Shared object not open

S

satish

Hello all,

I have a python module generated by SWIG. When I try to import the module I
get the following error :
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/world0/SWIGTEST/overturec.py", line 4, in ?
import _overturec
ImportError: .6: shared object not open

I am sure this has got something to do with the *sys.path* . I tried editing
it in all possible ways. I am not getting rid of this error.

Can someone advise me ??
--
SATISH KUMAR CHIMAKURTHI
Graduate Teaching Assistant
CFD GROUP
UNIVERSITY OF KENTUCKY
LEXINGTON
KENTUCKY - 40508
Email: (e-mail address removed)
Mobile: 859-312-8425
 
J

John J. Lee

satish said:
I have a python module generated by SWIG. When I try to import the module I
get the following error :

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/home/world0/SWIGTEST/overturec.py", line 4, in ?
import _overturec
ImportError: .6: shared object not open

I am sure this has got something to do with the *sys.path* . I tried editing
it in all possible ways. I am not getting rid of this error.
[...]

Never seen that error before.

What platform (operating system) is this? What version of Python
(probably not important, but useful to state it)?

Where is _overturec.so (or whatever the filename is)? What's your
sys.path? Have you tried running ldconfig or setting LD_LIBRARY_PATH?

Try putting the extension shared library in the current directory and
then trying to importing it directly (import _overturec).


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Scientific_netcdf 1
Too many indices 1
Custom Execution from Python 2
Priting Out in COLOURS 2
Reading data from file: x(i),y(i) form 0
Reading file error 2
python import error 7
Reading data in lists: Error 2

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top