解决报错libiomp5.so: undefined symbol: ompt_start_tool

如题,报错python3: symbol lookup error: /home/anaconda3/myEnv/lib/python3.7/site-packages/numpy/../../../libiomp5.so: undefined symbol: ompt_start_tool

装完pytoch跑实验就一直报这个错,查了好多,网上就一篇博客抄来抄去,也不好用,卸载pytorch又安装依旧报错。

删除conda环境lib文件夹下libiomp5.so后就好了

rm /home/anaconda3/myEnv/lib/libiomp5.so

你可能感兴趣的:(python,pytorch,linux)