Avatar of Tim Mullady
Tim MulladyFlag for United States of America asked on

Python Library install help - fbprophet

I'm struggling to install fbprofhet library to my Python Anaconda.

https://facebook.github.io/prophet/docs/installation.html


When I do the following installs in Spyder IDE I gett error's:



conda install gcc

error:

Note: you may need to restart the kernel to use updated packages.
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: gcc

error:

conda install PyStan

Note: you may need to restart the kernel to use updated packages.
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: PyStan



conda install -c conda-forge fbprophet

error:

Note: you may need to restart the kernel to use updated packages.
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: fbprophet


Any help would be greatly appreciated.

Thanks,

Tim
InstallationPython

Avatar of undefined
Last Comment
Tim Mullady

8/22/2022 - Mon
Norie

Tim

What happens if you try this from the command line?

pip install fbprophet

Open in new window

ASKER
Tim Mullady

long error but I think this is the root cause

    WARNING:pystan:MSVC compiler is not supported
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
ASKER
Tim Mullady

I downloaded visual studio build tools.  I'm trying to re-run pip install fbprophet
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
David Favor

The error suggests...

1) This library will likely only compile + run on Windows, so for OSX + Linux, likely you'll get many failures.

2) You must have the specific "Microsoft Visual C++ 14.0" compiler installed, for compilation to work.

Once you satisfy these requirements, likely the code will build.
ASKER
Tim Mullady

looks like I was able to install Microsoft visual C++ Redistributable

I'm running the PIP install but its been running for hours already
Louis LIETAER

hi, if this could help:

The easiest way to install Prophet is through conda-forge: conda install -c conda-forge fbprophet.


Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Tim Mullady

I've been trying this over and over again.

I get this error:

conda install gcc

Note: you may need to restart the kernel to use updated packages.
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: unrecognized arguments: gcc
ASKER CERTIFIED SOLUTION
Tim Mullady

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question