gpt4 book ai didi

python - 运行时错误 : To use MKL 2018 with Theano you MUST set "MKL_THREADING_LAYER=GNU"

转载 作者:太空宇宙 更新时间:2023-11-03 12:20:14 24 4
gpt4 key购买 nike

我已经安装了 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com