使用 Anaconda 在 windows 8.1 上安装 Theano:设置系统路径配置脚本

Installing Theano on windows 8.1 with Anaconda: setting the system path configuration script

我正在尝试按照此处提供的指南逐步在 windows 8.1 64 和 Anaconda 上安装 Theano:http://theano.readthedocs.org/en/latest/install_windows.html。 我被配置系统路径所需的环境配置脚本 'env.bat' 卡住了。 该示例引用了 WinPython 发行版,但因为我在 Anaconda 中安装,所以我不知道如何配置该特定行。

这是 WinPython 的示例:

REM add winpython stuff
CALL %SCISOFT%\WinPython-64bit-2.7.9.4\scripts\env.bat

考虑到我使用的是 Anaconda,我应该在 CALL 之后设置哪个目录?苦苦挣扎,有人可以帮忙吗?

编辑:请注意 SCISOFT 是教程中安装 WinPython 的目录,作者说:"The script assumes that you installed WinPython distribution, update the winpython line otherwise." 这就是我无法做到的,因为它没有指定指向什么在

我包含了整个 .bat,但我对其他设置没有问题:

REM configuration of paths
set VSFORPYTHON="C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python.0"
set SCISOFT=%~dp0
REM add tdm gcc stuff
set PATH=%SCISOFT%\TDM-GCC-64\bin;%SCISOFT%\TDM-GCC-64\x86_64-w64mingw32\bin;%PATH%
REM add winpython stuff
CALL %SCISOFT%\WinPython-64bit-2.7.9.4\scripts\env.bat
REM configure path for msvc compilers
REM for a 32 bit installation change this line to
REM CALL %VSFORPYTHON%\vcvarsall.bat
CALL %VSFORPYTHON%\vcvarsall.bat amd64
REM return a shell
cmd.exe /k

我不知道 WinPython env.bat 中有什么,但您可以删除它。您可能只需要确保 Anaconda 在 PATH 上。

下一个 winpython 应该让 theano 开箱即用 https://groups.google.com/forum/#!topic/theano-users/lta_34FXIwg

我遇到了类似的问题,所以我编写了一份关于如何在 Windows 8.1 x64 上安装 Theano 的可靠指南,使用 WinPython x64 和 CUDA 7 以及 MS Visual Studio 2012 - CPU和 GPU 都设置好了。

http://machinelearning.berlin/?p=383

希望对您有所帮助。