I encountered environment bug that is OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
Therefore, I try to use some code to fix it please reference to below:
import os
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE" that cna fix it