문제

I need to import VIX api libs in ubuntu using ctypes module. When I do:

 vix = CDLL('libvix.so')

It fails: "cannot open..."

what´s the problem??? libvix.so and python module are in the same directory

thanks!!

도움이 되었습니까?

해결책

If the rest of the error is something like

OSError: libvix.so: cannot open shared object file: No such file or directory

Then you probably need to put the location of the libvix.so in the LD_LIBRARY_PATH environment variable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top