I have a typical issue installing fbprophet package on Windows with pip. Now it's something else.
Here're my specs:
- Windows Server 2019 64-bit OS, x64-based processor
- AMD EPYC 75020 32-Core Processor
- Python 3.9.10
- pip 22.0.2 from C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\pip (python 3.9)
- installed the latest Microsoft C++ Build Tools from here https://visualstudio.microsoft.com/visual-cpp-build-tools/
Tried installing like
pip install fbprophet --user AND also without --user
Log:
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/cmd_line.hpp(32): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/lang/rethrow_located.hpp(117): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/model/indexing/rvalue_index_size.hpp(20): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.cpp(5153): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -IC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\eigen_3.3.3 -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\boost_1.69.0 -IC:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\lib\sundials_4.1.0\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\numpy\core\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\include -IC:\Users\Administrator\AppData\Local\Programs\Python\Python39\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /EHsc /TpC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.cpp /FoC:\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\Users\ADMINI~1\AppData\Local\Temp\3\pystan_d0i2q6os\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_3508975502107987478.obj /EHsc -DBOOST_DATE_TIME_NO_LIB /std:c++14" failed with exit status 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> fbprophet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.