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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -