【问题标题】:Error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' failed with exit status 2. While installing Spacy错误:命令 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\cl.exe' 失败,退出状态为 2。安装 Spacy 时
【发布时间】:2018-09-15 03:57:31
【问题描述】:

我正在尝试在 64 位的 Windows 10 上安装 Spacy。我有 Python 3.6.4 64 位,安装了 Visual Studio 14。但是我遇到了错误,我也添加了错误的图像

错误代码: `error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\cl.exe' 失败,退出状态为 2

【问题讨论】:

标签: visual-studio spacy


【解决方案1】:

所以我尝试了几件事来解决这个错误,最后我不得不创建一个 Conda 环境并尝试使用 Python 3.6 版本在 conda 环境中安装 spacy,这很成功。 或尝试下载 Visual Studio Build tools for 17(Python 3,6 版本需要 Visual C++ 17),可能会解决此问题。 谢谢。

【讨论】:

    【解决方案2】:

    here下载所需的python模块并运行:

    pip install file_name.whl
    

    【讨论】:

    • 对于非入门者(例如我),这需要更多解释。为什么会有帮助?
    猜你喜欢
    • 2018-02-07
    • 1970-01-01
    • 1970-01-01
    • 2017-04-03
    • 1970-01-01
    • 2016-07-22
    • 2022-01-27
    • 2017-10-29
    • 2018-11-02
    相关资源
    最近更新 更多