prophet
prophet copied to clipboard
Cannot Install Prophet In My Virtual Environment; Anaconda or Not
I've tried everything, attempting to install "prophet" and not "fbprophet", attempting to install via Anaconda, everything. I have been unable to find any answers to this issue, so I was wondering if anyone here would know how to fix this issue
The Great Wall of China sized traceback I received when attempting to install through "pip3 install prophet":
ERROR: Command errored out with exit status 1:
command: 'C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\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'"'"'))' bdist_wheel -d 'C:\Users\User\AppData\Local\Temp\pip-wheel-w62zvzt2'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-d47g18ua\prophet_253b7ff4f41142a3ac78fea0ed83663f\
Complete output (284 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib
creating build\lib\prophet
creating build\lib\prophet\stan_model
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW.
WARNING:pystan:MSVC compiler is not supported
stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_4098231309071139744.cpp
C:\Users\User\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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
[
Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/csr_u_to_z.hpp(28): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/matrix_exp_action_handler.hpp(118): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_matrix.hpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_row_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_covar_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_var_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(243): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(270): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(284): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(42): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(155): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/rising_factorial.hpp(18): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(82): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(194): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/log_softmax.hpp(104): warning C4244: 'argument': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(21): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(22): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::ordered_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::positive_ordered_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::simplex_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::softmax_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/sample.hpp(33): warning C4244: 'return': 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\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/services/util/read_dense_inv_metric.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(49): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(50): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/print_progress.hpp(52): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(91): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(105): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(124): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(48): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(61): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(76): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Temp\pystan_vxyu3q6c\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_4098231309071139744.cpp(5137): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Failed building wheel for prophet
Running setup.py clean for prophet
Failed to build prophet
Installing collected packages: ujson, cmdstanpy, prophet
Attempting uninstall: cmdstanpy
Found existing installation: cmdstanpy 0.9.5
Uninstalling cmdstanpy-0.9.5:
Successfully uninstalled cmdstanpy-0.9.5
Running setup.py install for prophet ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\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-4k6o1qvb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\User\AppData\Local\Programs\Python\Python39\Include\prophet'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-d47g18ua\prophet_253b7ff4f41142a3ac78fea0ed83663f\
Complete output (284 lines):
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\prophet
creating build\lib\prophet\stan_model
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW.
WARNING:pystan:MSVC compiler is not supported
stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_5028309827150098028.cpp
C:\Users\User\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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\AppData\Local\Programs\Python\Python39\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
[
Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/csr_u_to_z.hpp(28): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/matrix_exp_action_handler.hpp(118): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_matrix.hpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_row_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_covar_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_var_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(243): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(270): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(284): warning C4101: 'exc': unreferenced local variable
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(42): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(155): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/rising_factorial.hpp(18): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(82): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(194): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/log_softmax.hpp(104): warning C4244: 'argument': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(21): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(22): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::ordered_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::positive_ordered_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::simplex_constrain_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory': function does not take 2 arguments
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::count_memory'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::operator ()(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>' being compiled
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::softmax_op,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>(const Eigen::Matrix<stan::math::var,-1,1,0,-1,1> &)' being compiled
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis': function does not take 1 arguments
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::prepare_x_vis'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrix<stan::math::var,-1,1,0,-1,1>'
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: Expressions of type void cannot be converted to other types
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/sample.hpp(33): warning C4244: 'return': 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\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/services/util/read_dense_inv_metric.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(49): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(50): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/print_progress.hpp(52): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(91): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(105): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(124): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(48): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(61): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(76): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Programs\Python\Python39\lib\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\User\AppData\Local\Temp\pystan_olggguoe\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_5028309827150098028.cpp(5137): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.30.30705\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-d47g18ua\\prophet_253b7ff4f41142a3ac78fea0ed83663f\\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-4k6o1qvb\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\User\AppData\Local\Programs\Python\Python39\Include\prophet' Check the logs for full command output.
I pity whoever actually read this entire error.
I have exactly the same problem. Running on Mac, virtual python environment v3.8
Same.. me too and I tried every method too!!
Here is the problem INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW. WARNING:pystan:MSVC compiler is not supported Conda install fbprophet could help you out. Or trying the pre-built python wheel from here https://github.com/facebook/prophet/actions/runs/1621453882
If you're on Windows, you can either:
- Download the latest binary wheels here: https://github.com/facebook/prophet/actions/runs/2275140778 (we're working on releasing this to PyPI but they need to be downloaded manually for now). Or
- Build the development version yourself by cloning the repo: https://github.com/facebook/prophet#installation-in-python---development-version (note that you'll need to follow the instructions to install a stan-compatible compiler)
Guys, it still won't work. Could you help with a step by step manual? Conda is not an option for me.
PS C:\Users\Administrator\Desktop\seasonalities\ftp> pip install prophet Collecting prophet Using cached prophet-1.0.1.tar.gz (65 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: Cython>=0.22 in c:\program files\python39\lib\site-packages (from prophet) (0.29.30) Requirement already satisfied: cmdstanpy==0.9.68 in c:\program files\python39\lib\site-packages (from prophet) (0.9.68) Requirement already satisfied: pystan~=2.19.1.1 in c:\users\administrator\appdata\roaming\python\python39\site-packages (from prophet) (2.19.1.1) Requirement already satisfied: numpy>=1.15.4 in c:\program files\python39\lib\site-packages (from prophet) (1.21.6) Requirement already satisfied: pandas>=1.0.4 in c:\program files\python39\lib\site-packages (from prophet) (1.4.2) Requirement already satisfied: matplotlib>=2.0.0 in c:\users\administrator\appdata\roaming\python\python39\site-packages (from prophet) (3.5.1) Requirement already satisfied: LunarCalendar>=0.0.9 in c:\users\administrator\appdata\roaming\python\python39\site-packages (from prophet) (0.0.9) Requirement already satisfied: convertdate>=2.1.2 in c:\program files\python39\lib\site-packages (from prophet) (2.4.0) Requirement already satisfied: holidays>=0.10.2 in c:\users\administrator\appdata\roaming\python\python39\site-packages (from prophet) (0.12) Requirement already satisfied: setuptools-git>=1.2 in c:\program files\python39\lib\site-packages (from prophet) (1.2) Requirement already satisfied: python-dateutil>=2.8.0 in c:\program files\python39\lib\site-packages (from prophet) (2.8.2) Requirement already satisfied: tqdm>=4.36.1 in c:\users\administrator\appdata\roaming\python\python39\site-packages (from prophet) (4.64.0) Requirement already satisfied: ujson in c:\program files\python39\lib\site-packages (from cmdstanpy==0.9.68->prophet) (5.3.0) Requirement already satisfied: pymeeus<=1,>=0.3.13 in c:\program files\python39\lib\site-packages (from convertdate>=2.1.2->prophet) (0.5.11) Requirement already satisfied: hijri-converter in c:\program files\python39\lib\site-packages (from holidays>=0.10.2->prophet) (2.2.4) Requirement already satisfied: korean-lunar-calendar in c:\program files\python39\lib\site-packages (from holidays>=0.10.2->prophet) (0.2.1) Requirement already satisfied: pytz in c:\program files\python39\lib\site-packages (from LunarCalendar>=0.0.9->prophet) (2022.1) Requirement already satisfied: ephem>=3.7.5.3 in c:\program files\python39\lib\site-packages (from LunarCalendar>=0.0.9->prophet) (4.1.3) Requirement already satisfied: fonttools>=4.22.0 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (4.33.3) Requirement already satisfied: pillow>=6.2.0 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (9.1.0) Requirement already satisfied: cycler>=0.10 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (0.11.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (1.4.2) Requirement already satisfied: packaging>=20.0 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (21.3) Requirement already satisfied: pyparsing>=2.2.1 in c:\program files\python39\lib\site-packages (from matplotlib>=2.0.0->prophet) (3.0.9) Requirement already satisfied: six>=1.5 in c:\program files\python39\lib\site-packages (from python-dateutil>=2.8.0->prophet) (1.16.0) Requirement already satisfied: colorama in c:\users\administrator\appdata\roaming\python\python39\site-packages (from tqdm>=4.36.1->prophet) (0.4.4) Building wheels for collected packages: prophet Building wheel for prophet (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [285 lines of output] running bdist_wheel running build running build_py creating build creating build\lib creating build\lib\prophet creating build\lib\prophet\stan_model Importing plotly failed. Interactive plots will not work. INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW. WARNING:pystan:MSVC compiler is not supported stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_7432348586480595323.cpp C:\Program Files\Python39\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\Administrator\AppData\Roaming\Python\Python39\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\Administrator\AppData\Roaming\Python\Python39\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\Administrator\AppData\Roaming\Python\Python39\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 [ Derived=Eigen::Matrix<double,-1,-1,0,-1,-1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/csr_u_to_z.hpp(28): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/matrix_exp_action_handler.hpp(118): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_matrix.hpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_row_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_covar_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_var_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(243): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(270): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(284): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(42): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(155): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/rising_factorial.hpp(18): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(82): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(194): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/log_softmax.hpp(104): warning C4244: 'argument': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,1,0,-1,1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(21): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(22): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::ordered_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::positive_ordered_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::simplex_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::softmax_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/sample.hpp(33): warning C4244: 'return': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/services/util/read_dense_inv_metric.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(49): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(50): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/print_progress.hpp(52): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(91): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(105): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(124): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(48): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(61): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(76): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] 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\2\pystan_gp2srw66\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_7432348586480595323.cpp(5176): 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' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for prophet Running setup.py clean for prophet Failed to build prophet Installing collected packages: prophet Running setup.py install for prophet ... error error: subprocess-exited-with-error
× Running setup.py install for prophet did not run successfully. │ exit code: 1 ╰─> [285 lines of output] running install running build running build_py creating build creating build\lib creating build\lib\prophet creating build\lib\prophet\stan_model Importing plotly failed. Interactive plots will not work. INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_f5236004a3fd5b8429270d00efcc0cf9 NOW. WARNING:pystan:MSVC compiler is not supported stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_8430448715656046318.cpp C:\Program Files\Python39\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\Administrator\AppData\Roaming\Python\Python39\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\Administrator\AppData\Roaming\Python\Python39\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\Administrator\AppData\Roaming\Python\Python39\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 [ Derived=Eigen::Matrix<double,-1,-1,0,-1,-1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/csr_u_to_z.hpp(28): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/matrix_exp_action_handler.hpp(118): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_matrix.hpp(136): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_row_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/to_vector.hpp(31): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_covar_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/welford_var_estimator.hpp(31): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(243): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(270): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/io/dump.hpp(284): warning C4101: 'exc': unreferenced local variable C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(42): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/meta/operands_and_partials.hpp(155): warning C4267: 'return': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_first_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(19): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/modified_bessel_second_kind.hpp(20): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/scal/fun/rising_factorial.hpp(18): warning C4244: 'argument': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(82): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(194): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/log_softmax.hpp(104): warning C4244: 'argument': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,1,0,-1,1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(21): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/multiply_lower_tri_self_transpose.hpp(22): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrixstan::math::var,-1,-1,0,-1,-1 ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::ordered_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/ordered_constrain.hpp(88): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::positive_ordered_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::positive_ordered_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/positive_ordered_constrain.hpp(86): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::simplex_constrain_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::simplex_constrain_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/simplex_constrain.hpp(97): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(410): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory': function does not take 2 arguments with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(246): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::count_memory' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(408): note: while compiling class template member function 'auto stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::operator ()(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(617): note: see reference to class template instantiation 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>' being compiled with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: see reference to function template instantiation 'auto stan::math::adj_jac_apply<stan::math::internal::softmax_op,Eigen::Matrixstan::math::var,-1,1,0,-1,1>(const Eigen::Matrixstan::math::var,-1,1,0,-1,1 &)' being compiled C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(412): error C2660: 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis': function does not take 1 arguments with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(389): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::prepare_x_vis' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2664: 'stan::math::var stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars(const double &)': cannot convert argument 1 from 'Eigen::VectorXd' to 'const double &' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: Reason: cannot convert from 'Eigen::VectorXd' to 'const double' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: see declaration of 'stan::math::adj_jac_vari<F,Eigen::Matrixstan::math::var,-1,1,0,-1,1>::build_return_varis_and_vars' with [ F=stan::math::internal::softmax_op ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): error C2440: 'return': cannot convert from 'void' to 'Eigen::Matrixstan::math::var,-1,1,0,-1,1' C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/softmax.hpp(78): note: Expressions of type void cannot be converted to other types C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/sample.hpp(33): warning C4244: 'return': conversion from 'Eigen::EigenBase<Derived>::Index' to 'int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/services/util/read_dense_inv_metric.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(49): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/mcmc/windowed_adaptation.hpp(50): warning C4244: '=': conversion from 'double' to 'unsigned int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/print_progress.hpp(52): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(91): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(105): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(124): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(48): warning C4267: 'initializing': conversion from 'size_t' to 'const int', possible loss of data C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(61): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] C:\Users\Administrator\AppData\Roaming\Python\Python39\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(76): warning C4244: 'initializing': conversion from 'Eigen::EigenBase<Derived>::Index' to 'const int', possible loss of data with [ Derived=Eigen::Matrix<double,-1,1,0,-1,1> ] 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\2\pystan_1am_tmpe\stanfit4anon_model_f5236004a3fd5b8429270d00efcc0cf9_8430448715656046318.cpp(5176): 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' failed with exit code 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. ╰─> prophet
note: This is an issue with the package mentioned above, not pip.
This has been resolved in prophet 1.1. You can now pip install prophet directly from PyPI
@akosfurton guys, you are the best! it finally worked :) May I also ask what would be the best way to run seasonalities without producing output in the console, thus speeding it up (let's say I need to calculate 40K seasonalities without waiting for a week, the computer is good 64-core)?
@akosfurton Is fbprophet installable with pip? I am trying to install fbprophet==0.7 but I kept getting the exact same installation error as @algomaschine shows, and I noticed that he tried to install prophet (I know it's a name change but I wonder if that is ALL the difference between prophet and fbprophet).
Yeah, the old one won't work. But something worked for me in the past on Windows, I don't remember the version, but it was installable with some magic spells from stackoverflow in summer 2020. Can't remember if that was conda or not.
On Wed, Jan 11, 2023, 11:00 PM tle4336 @.***> wrote:
Is fbprophet installable with pip? I am trying to install fbprophet==0.7 but I kept getting the exact same problem as algomaschine, and I noticed that he tried to install prophet (I know it's a name change but I wonder if that is ALL the difference between prophet and fbprophet).
— Reply to this email directly, view it on GitHub https://github.com/facebook/prophet/issues/2107#issuecomment-1379412265, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7J6TFWYNNMDUM2BHZ6MPDWR4GNHANCNFSM5MZ4EOXA . You are receiving this because you commented.Message ID: @.***>