Closed richardhansson closed 2 years ago
PyStan 2 is not supported.
Discussions about the issue can be done in Discourse.
same error occurs to me ,just like this:
python3.9 + win11
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_5944b02c79788fa0db5b3a93728ca2bf NOW. WARNING:pystan:MSVC compiler is not supported
I used conda, pip to install the package.
Besides, I read the pystan's website and conda's website, but I can't solve it.
Hi @kakei-tao,
PyStan 3 does not support Windows. PyStan 2 is no longer supported.
Here's the FAQ answer you might find helpful: Is Windows supported?
I been trying to get pystan working for quite a while on windows 10. An package called orbit relies heavily on it and i am trying to use it without luck where the errors always appears upstream in stan.
Operating system: windows 10 Python version: 3.7.12 Pystan version: 2.19.1.1 compiler: mingw32
i was not sure if i should post the issue here or on discourse so i did both. Code to reproduce(notice the environment variable INCLUDE, this was necessary to try to hack through the io.h file not found bug and basestd.h not found and vcruntime.h not found etc):
stack trace(removed a small part of it due to charlimit):
WARNING:pystan:MSVC compiler is not supported stanfit4anon_model_ce583eb84b35032d795f7056cd3c761e_9175705935281291528.cpp C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(243): warning C4101: 'exc': unreferenced local variable
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(270): warning C4101: 'exc': unreferenced local variable
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/io/dump.hpp(284): warning C4101: 'exc': unreferenced local variable
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(82): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/cholesky_decompose.hpp(194): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/fun/log_softmax.hpp(104): warning C4244: 'argument': conversion from 'Eigen::EigenBase::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<stan::math::var,-1,-1,0,-1,-1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2665: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars': none of the 2 overloads could convert all the argument types
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(347): note: could be 'std::vector<stan::math::var,std::allocator> stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const std::vector<double,std::allocator> &)'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: or '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 &)'
with
[
F=stan::math::internal::ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: '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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: while trying to match the argument list '(Eigen::VectorXd)'
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2665: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars': none of the 2 overloads could convert all the argument types
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(347): note: could be 'std::vector<stan::math::var,std::allocator> stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const std::vector<double,std::allocator> &)'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: or '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 &)'
with
[
F=stan::math::internal::positive_ordered_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: '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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: while trying to match the argument list '(Eigen::VectorXd)'
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2665: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars': none of the 2 overloads could convert all the argument types
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(347): note: could be 'std::vector<stan::math::var,std::allocator> stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const std::vector<double,std::allocator> &)'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: or '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 &)'
with
[
F=stan::math::internal::simplex_constrain_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: '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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: while trying to match the argument list '(Eigen::VectorXd)'
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): error C2665: 'stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars': none of the 2 overloads could convert all the argument types
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(347): note: could be 'std::vector<stan::math::var,std::allocator> stan::math::adj_jac_vari<F,Eigen::Matrix<stan::math::var,-1,1,0,-1,1>>::build_return_varis_and_vars(const std::vector<double,std::allocator> &)'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(333): note: or '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 &)'
with
[
F=stan::math::internal::softmax_op
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: '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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/rev/mat/functor/adj_jac_apply.hpp(414): note: while trying to match the argument list '(Eigen::VectorXd)'
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/mcmc/sample.hpp(33): warning C4244: 'return': conversion from 'Eigen::EigenBase::Index' to 'int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(105): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/variational/families/normal_fullrank.hpp(124): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(61): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\src\stan/variational/families/normal_meanfield.hpp(76): warning C4244: 'initializing': conversion from 'Eigen::EigenBase::Index' to 'const int', possible loss of data
with
[
Derived=Eigen::Matrix<double,-1,1,0,-1,1>
]
C:\Users\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\anaconda3\envs\stan_env2\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\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): error C2672: 'subtract': no matching overloaded function found
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: could be 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': template parameter '_Cols' is ambiguous
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'Eigen::Matrix<boost::math::tools::promote_args<RT1,RT2,float,float,float,float>::type,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> stan::math::subtract(const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const T2 &)': could not deduce template argument for 'const Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &' from 'stan::math::vector_d'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/subtract.hpp(42): note: see declaration of 'stan::math::subtract'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'void stan::math::assign(Eigen::Matrix<ViewElt,R,C,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &,const Eigen::Matrix<T2,R2,C2,0|_Rows==1&&_Cols!=1?Eigen::RowMajor:_Cols==1&&_Rows!=1?Eigen::ColMajor:Eigen::ColMajor,_Rows,_Cols> &)': expects 2 arguments - 1 provided
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/assign.hpp(72): note: see declaration of 'stan::math::assign'
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/assign.hpp(47): note: or 'void stan::math::assign(T_lhs &,const T_rhs &)'
C:\Users\User1\AppData\Local\Temp\pystan_xzmnrs8w\anon_model_ce583eb84b35032d795f7056cd3c761e.hpp(280): note: 'void stan::math::assign(T_lhs &,const T_rhs &)': expects 2 arguments - 1 provided
C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\stan\lib\stan_math\stan/math/prim/mat/fun/assign.hpp(47): note: see declaration of 'stan::math::assign'
C:\Users\MAXIMI~1\AppData\Local\Temp\pystan_xzmnrs8w\stanfit4anon_model_ce583eb84b35032d795f7056cd3c761e_9175705935281291528.cpp(5224): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
Traceback (most recent call last):
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils_msvccompiler.py", line 396, in compile
self.spawn(args)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils_msvccompiler.py", line 502, in spawn
return super().spawn(cmd)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\ccompiler.py", line 910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\spawn.py", line 38, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\spawn.py", line 81, in _spawn_nt
"command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe' failed with exit status 2
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\site-packages\pystan\model.py", line 378, in init
build_extension.run()
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils\command\build_ext.py", line 534, in build_extension
depends=ext.depends)
File "C:\Users\User1\anaconda3\envs\stan_env2\lib\distutils_msvccompiler.py", line 398, in compile
raise CompileError(msg)
distutils.errors.CompileError: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe' failed with exit status 2
python-BaseException