Microsoft Visual C++ 14.0 is required - error - pip install fbprophet

依然范特西╮ 提交于 2019-12-25 02:15:47

问题


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.

My environment:

Windows 7

Anaconda - just installed

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 - also just installed

computer has been relauched after installations


回答1:


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

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

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.




回答2:


I could not solve it in the latest version of Anaconda which is 5.3.0. Upon extensive googling, I found a thread on github that advised me to go back to the previous version of Anaconda which is 5.2.0.

With that, it worked fine.

Thanks for taking time to look into it though.



来源:https://stackoverflow.com/questions/51460318/microsoft-visual-c-14-0-is-required-error-pip-install-fbprophet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!