OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.

Pycharm报错:

OMP: Error #15: Initializing libomp.dylib, but found libiomp5.dylib already initialized.

解决: 

在程序开头添加

import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"

你可能感兴趣的:(自我学习归纳,深度学习,Pycharm,Tensorflow)