Link to home
Start Free TrialLog in
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
Avatar of Norie
Norie

Tim

What happens if you try this from the command line?

pip install fbprophet

Open in new window

Avatar of Tim Mullady

ASKER

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/
I downloaded visual studio build tools.  I'm trying to re-run pip install fbprophet
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.
looks like I was able to install Microsoft visual C++ Redistributable

I'm running the PIP install but its been running for hours already
hi, if this could help:

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


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
Avatar of Tim Mullady
Tim Mullady
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial