WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`
D:\Anaconda3\lib\site-packages\theano\configdefaults.py:: UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory
warnings.warn("DeprecationWarning: there is no c++ compiler."
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.

按照正常的顺序安装完(http://www.deeplearning.net/software/theano/install.html),提示警告,如上。

于是,conda install m2w64-toolchain。

爆出一堆错误

于是,conda install libpython (https://blog.csdn.net/weixin_40849273/article/details/85266465)

更是一堆错误

Traceback (most recent call last):
File "D:\Anaconda3\lib\configparser.py", line , in _unify_values
sectiondict = self._sections[section]
KeyError: 'blas' During handling of the above exception, another exception occurred: Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\theano\configparser.py", line , in fetch_val_for_key
return theano_cfg.get(section, option)
File "D:\Anaconda3\lib\configparser.py", line , in get
d = self._unify_values(section, vars)
File "D:\Anaconda3\lib\configparser.py", line , in _unify_values
raise NoSectionError(section)
configparser.NoSectionError: No section: 'blas' During handling of the above exception, another exception occurred: Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\theano\configparser.py", line , in __get__
delete_key=delete_key)
File "D:\Anaconda3\lib\site-packages\theano\configparser.py", line , in fetch_val_for_key
raise KeyError(key)
KeyError: 'blas.ldflags' During handling of the above exception, another exception occurred: Traceback (most recent call last):
File "<stdin>", line , in <module>
File "D:\Anaconda3\lib\site-packages\theano\__init__.py", line , in <module>
from theano.scan_module import (scan, map, reduce, foldl, foldr, clone,
File "D:\Anaconda3\lib\site-packages\theano\scan_module\__init__.py", line , in <module>
from theano.scan_module import scan_opt
File "D:\Anaconda3\lib\site-packages\theano\scan_module\scan_opt.py", line , in <module>
from theano import tensor, scalar
File "D:\Anaconda3\lib\site-packages\theano\tensor\__init__.py", line , in <module>
from theano.tensor import blas
File "D:\Anaconda3\lib\site-packages\theano\tensor\blas.py", line , in <module>
from theano.tensor.blas_headers import blas_header_text
File "D:\Anaconda3\lib\site-packages\theano\tensor\blas_headers.py", line , in <module>
if not config.blas.ldflags:
File "D:\Anaconda3\lib\site-packages\theano\configparser.py", line , in __get__
val_str = self.default()
File "D:\Anaconda3\lib\site-packages\theano\configdefaults.py", line , in default_blas_ldflags
check_mkl_openmp()
File "D:\Anaconda3\lib\site-packages\theano\configdefaults.py", line , in check_mkl_openmp
""")
RuntimeError:
To use MKL with Theano either update the numpy conda packages to
their latest build or set "MKL_THREADING_LAYER=GNU" in your
environment.

于是,新建环境变量MKL_THREADING_LAYER=GNU,

似乎不管用

于是,conda update numpy

solved。

可以使用theano,但是当我尝试使用theano.scan时,

Process finished with exit code - (0xC0000005)

墙内墙外多番查找,最终发现此贴可用!(https://blog.csdn.net/wangguan9527/article/details/82845409)

solved。

theano安装问题的更多相关文章

  1. paper 52 :windows7环境下theano安装

    要做卷积神经网络的一些东西,所以要装theano,网上很多Theano安装教程版本较老,而各安装包更新很快,参考价值有限.走了很多弯路才装好,把这个过程记录下来,希望对大家有帮助~ ~ 我的配置:wi ...

  2. theano安装

    theano安装有两类方法,一种是自己一步步安装,还有一种是借助其他软件安装.我是安装到一半发现第二种方法的...........所以就用的第一种麻烦的办法装的,但是过程也是一种学习. 电脑:win7 ...

  3. Anaconda2+Theano 安装过程中的所有的坑。。。

    写在前面的废话 上次搞theano安装还是一年多以前..anaconda才出到1.4,当时的AnacondaCE,直接安装完基本上theano啥的都一套成功.. 今天换了个电脑,重装anaconda, ...

  4. windows10 环境下theano安装

    前言:我用的是 Anaconda2 安装python 1. 在Anaconda prompt中输入 conda install mingw libpython 2. 添加环境变量 C:\Anacond ...

  5. deep learning学习环境Theano安装(win8+win7)

    官网安装说明Installing Theano:http://deeplearning.net/software/theano/install.html#alternative-anacondace ...

  6. theano 安装杂记

    0. MinGW MinGW:Windows 下的 g++等linux 下的编译工具: Anaconda 下 MinGW 的安装(进行 windows cmd 界面):conda install mi ...

  7. Theano安装笔记

    由于实验需要,近三个月来,安装过十几次Theano,基本上每次都是从最基本的nvidia driver装起.总结一些粗浅的安装心得. GPU:Nvidia K40, M40, M60 软件环境:Unb ...

  8. 手把手教你搭建深度学习平台——避坑安装theano+CUDA

    python有多混乱我就不多说了.这个混论不仅是指整个python市场混乱,更混乱的还有python的各种附加依赖包.为了一劳永逸解决python的各种依赖包对深度学习造成的影响,本文中采用pytho ...

  9. Theano在CentOS 6 下的安装及GPU加速

    系统版本:Red Hat 4.4.6-4 一. 未联网情况下,选择本地安装. 首先安装theano的依赖库,包括:scipy-0.16.1numpy-1.9.2nose-1.3.7 (optional ...

随机推荐

  1. TabLayout下划线指示器自适应文字宽度

    解决方案1: 更新design库到28.0.0-rc01 implementation 'com.android.support:design:28.0.0-rc01' 然后在TabLayout里设置 ...

  2. HDFS基础1

    一.HDFS入门 二.HDFS基本操作 1.shell命令行客户端 Hadoop提供了文件系统的shell命令行客户端,使用方法如下: Hadoop fs <args>(参数哪一个文件系统 ...

  3. google Kickstart Round F 2017 四道题题解

    Problem A. Kicksort 题意抽象一下为: 对于一个每次都从数列正中间取划分数的快速排序,给定一个1-n的排列,问快排的复杂度对于这个排列是否会退化为最坏复杂度. 数据范围: 测试组数1 ...

  4. leetcode 687.Longest Univalue Path

    寻找最长的路径,那么会在左边或者右边或者是从左到跟然后再到右方的路径的. /** * Definition for a binary tree node. * struct TreeNode { * ...

  5. java方法 throws exception 事务回滚机制

    使用spring难免要用到spring的事务管理,要用事务管理又会很自然的选择声明式的事务管理,在spring的文档中说道,spring声明式事务管理默认对非检查型异常和运行时异常进行事务回滚,而对检 ...

  6. linux文本处理命令

    linux文本处理命令 1.wc命令 基本介绍 文件的行统计.字符统计.字节统计 基本语法 wc  [OPTION]...  [FILE]... wc  [OPTION]...  --files0-f ...

  7. windows 安装touch指令

    if you are using node.js just use npm to install it on Windows: C:\npm install touch-cli -g

  8. Qt实现 动态化遍历二叉树(前中后层次遍历)

    binarytree.h 头文件 #ifndef LINKEDBINARYTREE_H #define LINKEDBINARYTREE_H #include<c++/algorithm> ...

  9. mock数据,尽量随机,1次插入多条

    建表,多设置一个字段id_tmp create table if not exists mall_data.dtw_mall2_adm_customer_d_tmp( id_tmp string co ...

  10. 小妖精的完美游戏教室——东方PROJECT,同人,符卡系统

    //================================================================//// Copyright (C) 东方同人社// All Rig ...