Cannot Install Prophet In My Virtual Environment; Anaconda or Not
See original GitHub issueI’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.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
unable to install fbprophet in my virtual environment #2101
As I have read the problem with pip install fbprophet is a pystan problem that basically says pystan doesnt work, so I tried...
Read more >Installing FBProphet/Prophet for Time Series Forecasting in ...
The main problem of the installation, in my case because I already installed python 3.9 so, the prophet can't be installed. I don't...
Read more >Installation | Prophet - Meta Open Source
The key step is installing Rtools before attempting to install the package. If you have custom Stan compiler settings, install from source rather...
Read more >Installing fbprophet Python on Windows 10 - Stack Overflow
First install Anaconda or miniconda in your Windows machine and add conda python path to env variable as default python.
Read more >Installing fbprophet Python on Windows 10 | G. Wu
1. First install Anaconda or miniconda in your Windows machine and add conda python path to env variable as default python. 2. Open...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
@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)?