Since I need weka, apache.commons.math and other java libs, but also need python library like netowrkx to do max_weight_bipartite, then I decide to use cpython + pyjnius to combine them
- install pyjnius
- when import java library, refer to the following example:
System = autoclass('java.lang.System')
System.out.println('Hello World')
you need to take care of java heap size. it may cause a crash after 40 hours.