Fbprophet Installation Error - Failed Building Wheel for Fbprophet

Error pip installing fbprophet, pystan installed fine, I tried different versions. My python is 3.6.7, tried all the answers suggested before

Here is what I tried and worked for me! At this point I started to learn that finding the right versions to download to ur system is like unlocking/cracking a safe and u have to find the right combination. So here is what worked for me. A lot suggested to use older versions of pystan and fbprophet. The ones that worked for me were:

pip install pystan==2.18.0.0

pip install fbprophet==0.6

Make sure to download Microsoft Visual C++ 14.0 or a newer version, otherwise, you will get an error during installing fbprophet:

"error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools."

Here is the link to download it: https://visualstudio.microsoft.com/visual-cpp-build-tools/
It will download Visual Studio Installer for u, which will pick the necessary tools for u (about 6 Gb).
After that I was able to install fbprophet and import.
There are other suggestions like using Anaconda in other posts, or using a different version of pystan and fbprophet. Good luck!

Running setup.py install for fbprophet ... error

To solve this problem, I uninstalled my existing python 3.7 and anaconda. I re-installed anaconda with one key difference.

I registered Anaconda as my default Python 3.7 during the Anaconda installation. This lets visual studio, PyDev and other programs automatically detect Anaconda as the primary version to use.



Related Topics



Leave a reply



Submit