python - How to load Cython compiled .so file on both Mac OS X and Linux? -
i compiled module.pyx
file module.so
under mac os x, , can use with:
from module import method1
however, same .so
file won't work on linux, have compile new module.so
under linux.
so problem is, how can write cross platform(mac , linux) module cython?
you can't. you'll have compile different library each platform need support.
Comments
Post a Comment