-
-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
UnicodeDecodeError when i import arivz #2274
Comments
Hi, what python version and arviz version do you have? |
I use the version is python 3.10.9 and arviz 0.16.1 |
This looks very similar, perhaps identical, to an issue that came up in CI when wrapping arviz with Julia (JuliaRegistries/General#88578 (comment)). Note that the error traces back to the same line of Python code: https://github.com/JuliaRegistries/General/actions/runs/5808545587/job/15745534758#step:16:885 . This was with a fresh Conda environment built with micromamba with only the constraint "arviz >= 0.14.0". |
similar question import arviz python 3.11.4 using arivz 0.15 non error |
How did you install arviz? Conda or pip? |
This also came up here. The issue there was that the user was on windows. The system encoding there isn't utf-8, if I remember correctly it's Latin1, so when they try to read the contents of the file that has utf-8 special characters, the system level encoding can't understand them and errors out. To fix that, you'll need to explicitly pass |
We need to add the encoding argument in Line 671 in 6b1b2be
|
Holle, I want to run:
What do I need to do to solve this problem? Looking forward to your answer!
The text was updated successfully, but these errors were encountered: