【问题标题】:'nanomsg/nn.h' file not found on MAC在 MAC 上找不到“nanomsg/nn.h”文件
【发布时间】:2017-03-29 19:39:46
【问题描述】:

我想在 macOS 上使用 LuaRocks 安装 nn。但是在运行时

sudo luarocks install nn      //I use sudo because otherwise I don't have permission to install

我收到了错误

lnn.c:4:9: 致命错误: 'nanomsg/nn.h' 文件未找到 包括 ^ 产生 1 个错误。

我该如何解决这个问题?

【问题讨论】:

    标签: macos torch luarocks nanomsg


    【解决方案1】:

    Brew 来救援。

    运行:

    brew install nanomsg
    

    这对我有用。

    【讨论】:

      猜你喜欢
      • 2017-09-24
      • 2018-01-23
      • 2015-02-26
      • 2018-03-29
      • 1970-01-01
      • 1970-01-01
      • 2013-04-22
      • 2015-01-14
      • 1970-01-01
      相关资源
      最近更新 更多