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
Inserting a Python Datetime.Datetime Object into MySQL
Best Practices for Adding .Gitignore File for Python Projects
How to Close an Internet Tab With Cmd/Python
How to Limit Iterations of a Loop in Python
How to Hide Tkinter Python Gui
Regular Expression for Double and Integer Validation
Vscode: There Is No Pip Installer Available in the Selected Environment
Output the Same Amount of Rows as Asterisks Using For-Loop
How to Repeat a Function N Times
String Concatenate Typeerror: Can Only Concatenate Str (Not "Int") to Str"
Sort Array and Return Original Indexes of Sorted Array
Python - How to Fix "Valueerror: Not Enough Values to Unpack (Expected 2, Got 1)"
Best Way to Identify and Extract Dates from Text Python
How to Smooth a Curve in the Right Way
Using Regex to Find All Phrases That Are Completely Capitalized
Formatting Datetime Xlabels in Matplotlib (Pandas Df.Plot() Method)
Valueerror: Too Many Values to Unpack (Expected 2) in Django