调程序时遇到问题
OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
加上以下两行就好了:
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
调程序时遇到问题
OMP: Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized.
加上以下两行就好了:
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"