prophet icon indicating copy to clipboard operation
prophet copied to clipboard

Cannot install Prophet

Open yclui opened this issue 3 years ago • 4 comments

I am trying to set up my laptop ( Windows 10 ) for running Prophet but I am encountering some problems. I managed to install pystan and mingw-w64 C++ compiler in Anaconda and running the test codes provided in the pystan site (https://pystan2.readthedocs.io/en/latest/windows.html ) seems to have indicated that pystan is able to use the C++ compiler successfully. However, when I tried to install Prophet in the Pip(3.9) terminal in Microsoft VS code, I got the following error. The main error is “MSVC Compiler is not supported” which , according to the pystan site, is known and no fixes are known other than to change the compiler to GCC or clang-cl. Is the use of these C++ compiler a must ?

image

Then I tried to install Prophet in Anaconda and I got errors of different kinds :

image

Can anyone let me know how Prophet can be installed successfully ?

yclui avatar Dec 13 '21 02:12 yclui

Hi, I was having the same issue with pip install and found the solution here: https://github.com/facebook/prophet#anaconda

Use conda install gcc to set up gcc. The easiest way to install Prophet is through conda-forge: conda install -c conda-forge prophet.

Worked for me :)

isabella-karabasz avatar Dec 16 '21 08:12 isabella-karabasz

conda install gcc does not work. following pystan 2.19.1.1 instructions work fine. prophet must be looking for a different compiler. I did have prophet working in an earlier conda build. had to rebuild the packages and now cant get prophet installea
UPDATE pystan did not install correctly it did not run pystan will not install on windows as there site states. Unless through 'WSL'

alfredaita avatar Feb 08 '22 08:02 alfredaita

This has been resolved in prophet 1.1. You can now pip install prophet directly from PyPI on Windows

akosfurton avatar Jun 27 '22 14:06 akosfurton

Thanks for the update

Sent from Yahoo Mail for iPhone

On Monday, June 27, 2022, 12:55 PM, Akos Furton @.***> wrote:

This has been resolved in prophet 1.1. You can now pip install prophet directly from PyPI on Windows

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

alfredaita avatar Jun 27 '22 17:06 alfredaita

Closing due to PyStan no longer being a dependency of prophet

WardBrian avatar Oct 12 '23 13:10 WardBrian