RuntimeError: To use MKL 2018 with Theano either update the numpy conda packages totheir latest build or set “MKL_THREADING_LAYER=GNU” in your environment解决办法。
1.conda update numpy
在cmd命令行中conda update numpy(我是通过这个解决的)
2.通过降级到MKL 2017来解决(这种方法没有试过,网上总结的)
conda install mkl=2017
3.创建环境变量
新建系统变量MKL_THREADING_LAYER,值为GNU
如果上述三种方法中其中一种方法尝试过后仍然失败,再次尝试完成第一种和第三种方法以后再次import theano就会成功
参考:1.https://github.com/Theano/Theano/issues/6568
2.https://blog.csdn.net/baidu_40887432/article/details/102601336
3.https://www.icode9.com/content-1-207925.html