anaconda3安装第三方软件包时出现cannot find -lblas错误

求各位大神指教,报错如下

/opt/anaconda3/compiler_compat/ld: cannot find -lblas

/opt/anaconda3/compiler_compat/ld: cannot find -llapack

collect2: error: ld returned 1 exit status

error: Command "g++ -pthread -shared -B /opt/anaconda3/compiler_compat -L/opt/anaconda3/lib -Wl,-rpath=/opt/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.6/spams_wrap/spams_wrap.o -L/opt/anaconda3/lib -L/usr/local/lib -L/usr/lib64 -L/usr/lib -L/usr/lib/x86_64-linux-gnu -L/opt/anaconda3/lib -lstdc++ -lblas -llapack -lpython3.6m -o build/lib.linux-x86_64-3.6/_spams_wrap.cpython-36m-x86_64-linux-gnu.so -fopenmp" failed with exit status 1

ERROR: Command errored out with exit status 1:

/opt/anaconda3/include/python3.6m/spams Check the logs for full command output.

报错处理:找不到 -llapack/lblas