conda环境下ImportError: libmkl_intel_lp64.so.1: cannot open shared object file问题解决
(retalking) [root@localhost video-retalking]# find / -name "libmkl_intel_lp64.so.1"
/root/anaconda3/pkgs/mkl-2021.2.0-h06a4308_296/lib/libmkl_intel_lp64.so.1
/root/anaconda3/pkgs/mkl-2021.4.0-h06a4308_640/lib/libmkl_intel_lp64.so.1
/pkgs/mkl-2021.4.0-h06a4308_640/lib/libmkl_intel_lp64.so.1
办法:
conda install mkl=2021
vim ~/.bashrc
或者 vim /etc/profile
export LD_LIBRARY_PATH=/home/……:$LD_LIBRARY_PATH
source profile
source ~/.bashrc