Arjun Sarihyan
Arjun Sarihyan

Reputation: 53

I'm trying to install fbprophet using pip on windows10 and the following error is showed

I'm trying to install fbprophet using pip on windows10 and the following error is showed

ERROR: Command errored out with exit status 1: 'c:\program files\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\ARJUNS~1\AppData\Local\Temp\pip-install-v9k4x_8v\fbprophet\setup.py'"'"'; file='"'"'C:\Users\ARJUNS~1\AppData\Local\Temp\pip-install-v9k4x_8v\fbprophet\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\ARJUNS~1\AppData\Local\Temp\pip-record-pjkjdpel\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

I have the pystan packet already installed

The log image asked by phd

Upvotes: 3

Views: 5773

Answers (1)

Shalini Baranwal
Shalini Baranwal

Reputation: 3008

I had faced same problem. I used "conda" rather than "pip" for installation with steps shown below and it worked magical for me.

step 1: conda install -c anaconda ephem

step 2:conda install -c conda-forge pystan

step 3: conda install -c conda-forge fbprophet

Now you can go ahead with : "from fbprophet import Prophet" in python environment.

Upvotes: 9

Related Questions