window安装theano

官网:(http://www.deeplearning.net/software/theano/install_windows.html#install-windows)

下载 https://github.com/Theano/Theano/archive/master.zip
解压,打开,里面有 setup.py

python setup.py develop

尝试打开python

import theano

有warning:
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.

好,接下来下载 http://jaist.dl.sourceforge.net/project/tdm-gcc/TDM-GCC%20Installer/tdm-gcc-5.1.0-3.exe

直接点击运行
这里写图片描述
选择 creat, 我的python是32bit, 我选择32的,选安装路径,我安装到 E:\PROC\gcc, 然后配置环境变量,用户变量,path, 添加以下3个
这里写图片描述
另外,新建一个用户变量
VSFORPYTHON 路径要打双引号,是你的VS的路径 ,我的是

"E:\PROC\vs12\VC"

重新打开phthon
import theano
成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值