module/import question

2005-02-28 Thread subopt
I'm trying to import Logilab's constraint module like this: from logilab.constraint import * from within a Python interactive session. The module is not installed correctly on our system, and it won't be, so i adjusted my PYTHONPATH, added an empty __init__.py file, then started up an interac

Trouble loading dll via ctypes

2008-01-29 Thread subopt inTheVicinityOf geemail.com
I'm trying to load a dll via ctypes by doing this: cdll.LoadLibrary('/path/to/mylib.so') But i'm getting this: /path/to/mylib.so: cannot open shared object file: No such file or directory What am i doing wrong? The dll in question is in a directory mounted via NSF, but no part of th