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

后端 未结 9 1173
感动是毒
感动是毒 2020-12-01 05:34

Getting the error message when using matplotlib:

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

9条回答
  •  粉色の甜心
    2020-12-01 05:54

    Had same issue in OSX when updating tensoflow to 1.13 using conda.

    • Solution 1: /gcamargo worked but 3x slower per training epoch.
    • Solution 2: /sjcoding worked and removed serious warining but also 3x slower in training.
    • Solution 3: that restored performance was: Install pip in new conda env and use pip to install tensorflow. Using conda-forge also worked but version of tf is old.

    Apparently the new Intel-MKL optimizations in Anaconda are broken for OSX tensorflow.

提交回复
热议问题