OMP: Error #15: Initializing libiomp5, but found libomp.so already initialized. code example
Example: OMP: Error #15: Initializing libomp.a, but found libiomp5.dylib already initialized.
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'