1

尝试在 Windows 上安装 kats 时,需要安装 fbprophet。

这会导致以下错误:

Building wheels for collected packages: fbprophet
  Building wheel for fbprophet (setup.py)  error
  ERROR: Command errored out with exit status 1:
INFO: pystan: COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW..
WARNING: pystan : MSVC compiler is not supported"...

错误:

command: 'C:\Users\user\.conda\envs\katfinal\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-zc4_euql\\fbprophet_baec72f7c19845aaa3050620413adc98\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-zc4_euql\\fbprophet_baec72f7c19845aaa3050620413adc98\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-gaz4xgyk\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\user\.conda\envs\katfinal\Include\fbprophet'
         cwd: C:\Users\user\AppData\Local\Temp\pip-install-zc4_euql\fbprophet_baec72f7c19845aaa3050620413adc98\
    Complete output (284 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib
    creating build\lib\fbprophet
    creating build\lib\fbprophet\stan_model
    INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW.
    WARNING:pystan:MSVC compiler is not supported
    stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_1451489351938419874.cpp
    C:\Users\user\.conda\envs\katfinal\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
    C:\Users\user\.conda\envs\katfinal\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/meta/seq_view.hpp(145): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
    C:\Users\user\.conda\envs\katfinal\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp(19): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
            with
            [
                Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
            ]
    C:\Users\user\.conda\envs\katfinal\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/multiply_lower_tri_self_transpose.hpp(27): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
            with
4

0 回答 0