Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stan_utility is incompatible with pystan3 #21

Closed
henrysting opened this issue Mar 19, 2023 · 2 comments
Closed

stan_utility is incompatible with pystan3 #21

henrysting opened this issue Mar 19, 2023 · 2 comments

Comments

@henrysting
Copy link

henrysting commented Mar 19, 2023

Due to the incompatibly between the stan_utility(0.1.2) and the pystan (3.x), the test_script.py could not finish successfully now. A easy solution is keeping the tool work with pytstan 2 (e.g. 2.19.1.1, import pystan) rather than pystan 3 (import stan). Or else, the stan_utility has to be replaced or updated.

@domeckert
Copy link
Owner

Thanks for the report @henrysting . I hadn't noticed this upstream change.

As a workaround, in the "requirements.txt" file you can replace "pystan" with "pystan<3.0", this should force installation of an older version of stan. On the longer term we definitely to align with the upstream changes.

@henrysting
Copy link
Author

Sounds good ! I confirm that the release 0.7.0 works well with pystan 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants