需要Microsoft Visual C ++ 14.0-错误-pip install fbprophet [英] Microsoft Visual C++ 14.0 is required - error - pip install fbprophet

查看:232
本文介绍了需要Microsoft Visual C ++ 14.0-错误-pip install fbprophet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试pip install fbprophet. 我收到该错误:需要Microsoft Visual C ++ 14.0" 已经讨论了很多次(例如需要Microsoft Visual C ++ 14.0(无法找到vcvarsall.bat) ),但似乎没有答案可以帮助我.

I am trying pip install fbprophet. I am getting that error: "Microsoft Visual C++ 14.0 is required" It has been discussed many times (e.g. Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat) ) , but seems no answer helps me.

我的环境:

Windows 7

Windows 7

Anaconda-刚刚安装

Anaconda - just installed

Mirosoft VC 2017-刚刚安装(不是版本14,但较新-似乎无法从MS网站加载14(2015)版本)

Mirosoft VC 2017 - just installed ( It is not version 14, but it is newer - it seems impossible to load 14 (2015) version from MS site )

MS VC Build Tools-也已安装

MS VC Build Tools - also just installed

计算机在安装后已重新启动

computer has been relauched after installations

推荐答案

我遇到了同样的问题,但是我按照以下说明解决了: https://facebook.github.io/prophet/docs/installation.html

I had the same problem but I solved using these instructions: https://facebook.github.io/prophet/docs/installation.html

在该页面上,您可以转到安装 PyStan的说明(这是必需的),其中指定了如何为这些库安装C ++编译器.

From that page, you can go to the installation instructions for PyStan (which is needed) in which is specified how to install a C++ compiler for the libraries.

tl; dr-> conda install libpython m2w64-toolchain -c msys2

tl;dr -> conda install libpython m2w64-toolchain -c msys2

它没有安装MS编译器,但是可以解决我的问题,并且在编译器方面也有错误(也安装了VS2017).我运行Windows 10和最新的Anaconda发行版.希望对您有帮助.

It does not install MS compiler, but it worked on my case and I had also errors regarding the compiler (also had VS2017 installed). I run Windows 10 and latest Anaconda distribution. I hope it helps.

这篇关于需要Microsoft Visual C ++ 14.0-错误-pip install fbprophet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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