Getting the error message when using matplotlib:
Error #15: Initializing libiomp5.dylib, but found libiomp5.dylib already initialized OMP: Hin
Try to change the backend of matplotlib.
matplotlib
For example, Tkagg backend causes this problem in my case. I changed it to Qt5Agg
Tkagg
Qt5Agg
matplotlib.use('Qt5Agg')
and it helps.