Python 3.5.2 |Anaconda custom (64-bit)| (default, Jul 2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cvxopt import matrix
>>> 2 * matrix(1.0, (1, 4))
Intel MKL FATAL ERROR: Cannot load libmkl_avx.so or libmkl_def.so
运行上述脚本时,我收到 Intel MKL 致命错误。有类似错误的问题中提到的测试通过了。测试是
python -c 'import sklearn.linear_model.tests.test_randomized_l1'
我运行 pythonLD_DEBUG=symbols
并在日志中看到以下错误
/opt/anaconda3/lib/python3.5/site-packages/cvxopt/../../../libmkl_avx.so: error: symbol lookup error: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8 (fatal)
有谁知道如何解决这一问题?我有兴趣保留 mkl 选项而不是 nomkl 选项
注意mkl
已安装并处于最新版本,因此scikit-learn