我已经安装了 theano

conda install theano

在 Ubuntu 16.04 上。
现在我有导入问题
import theano
Traceback (most recent call last):
  File "/home/milenko/miniconda3/lib/python3.6/configparser.py", line 1138, in _unify_values
    sectiondict = self._sections[section]
KeyError: 'blas'
  File "/home/milenko/miniconda3/lib/python3.6/site-packages/theano/configdefaults.py", line 1252, in check_mkl_openmp
    raise RuntimeError('To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU" in your environement.')
RuntimeError: To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU" in your environement.

这是什么意思?如果BLAS安装正确,如何检查一切?

最佳答案

我已经解决了这个问题,看来 MKL 2018 有一些严重的问题

conda uninstall mkl=2018
conda install mkl=2017

关于python - 运行时错误 : To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU",我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/49048734/

10-14 19:20