On Wed, May 25, 2016 at 2:18 AM, Siyi Deng <mr.siyi.d...@gmail.com> wrote: > I don't quite understand, the binary shared library contains no python > interfaces, it should be independent of python. As a matter of fact, I have > successfully used it in Conda python 2.7, 3.5, Julialang as well as c++ > executables. I think the fact that only stock python 2.7 failed to run > correctly indicates some bug in that python distribution. >
Ah okay. Still, somehow you have to get the data from the numpy array to the binary library; and that depends on the exact layout of the Python object (including pointer sizes and stuff). So your ctypes interface code might need to be adjusted. ChrisA -- https://mail.python.org/mailman/listinfo/python-list