安装spacy和其他一些库时需要microsoft c ++ 9.0 [英] microsoft c++ 9.0 required while installing spacy and few other libraries

查看:204
本文介绍了安装spacy和其他一些库时需要microsoft c ++ 9.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用kudu或requirements.txt在azure应用程序服务(windows)上安装spacy和其他一些库时.我收到一条错误消息,说需要Microsoft c ++ 9.0".我尝试使用不同版本的库,并且还使用了 车轮,但问题仍然存在.如果我使用requirements.txt并从github部署了应用程序,则构建会因相同的问题而失败.

While trying to install spacy and few other libraries on azure app service(windows) using kudu or requirements.txt . I am getting an error saying "microsoft c++ 9.0 required". I tried using different version of the libraries and also used wheels but the issue still persists. If I am using requirements.txt and deployed the app from github the build is getting failed with the same issue.

预先感谢

推荐答案

您好Sarat34,目前,安装spaCy需要使用Windows上的Visual C ++ Build Tools编译器(与Visual Studio不同). .基于此 Github线程 spaCy正在致力于为其所有依赖项释放轮子,因此用户将不需要编译器来安装spaCy.在此处找到了解决方法 推荐而是从conda安装spaCy.这将附带轮子,不需要您在本地编译spaCy.希望有帮助

Hi Sarat34, currently, installing spaCy requires a compiler the Visual C++ Build Tools on Windows (different from Visual Studio). Based on this Github thread spaCy is working on releasing wheels for all of their dependencies so users will not need a compiler to install spaCy. A workaround found here recommends  installing spaCy from conda instead. This will ship with wheels and doesn't require you to compile spaCy locally. Hope that helps


这篇关于安装spacy和其他一些库时需要microsoft c ++ 9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆