开发者

Vix API in python

开发者 https://www.devze.com 2023-01-27 10:55 出处:网络
I need to import VIX api libs in ubuntu using ctypes module. When I do: vix = CDLL(\'libvix.so\') It fails: \"cannot open开发者_StackOverflow社区...\"

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

 vix = CDLL('libvix.so')

It fails: "cannot open开发者_StackOverflow社区..."

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消