【问题标题】:How to specify a windows directory that has spaces in it in .theanorc如何在 .theanorc 中指定包含空格的 Windows 目录
【发布时间】:2015-04-04 03:21:38
【问题描述】:

我需要使用--compiler-bindir 标志来指定包含cl.exenvcc 的目录。如果我这样指定:

[nvcc]
flags = --compiler-bindir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin

我在 python 中导入 theano 时出错,抱怨空格。在.theanorc 中指定此目录的正确方法是什么?请注意,我不想编辑我的nvcc.profile

【问题讨论】:

    标签: windows theano


    【解决方案1】:

    尝试以下,如果您还没有,它似乎对其他人有用:

    [nvcc]
    compiler_bindir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
    

    另请参阅 this 关于在 Windows 上安装 Theano 的长 Stackoverflow 指南。

    【讨论】:

      猜你喜欢
      • 2016-04-09
      • 2023-03-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-06
      • 2020-06-22
      • 2021-07-17
      相关资源
      最近更新 更多