Replies: 1 comment
-
|
This turned out to be a slightly different problem than I thought. I had julia running inside a container and it turned out 'LANG' wasn't set in the environment. After setting |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem: when importing a package with
pyimportI do get aUnicodeDecodeErroras python is trying to read utf-8 encoded file using ascii codec. The import works without any problem if I run it directly in the python repl.I've found that
sys.flags.utf8_modeare different in these two cases, when calling from PythonCall this flag is always 0. Further, I've found no way to manipulate this flag. SettingENV["PYTHONUTF8"]=1has no effect.I'm I missing something? How can I get this to work?
Beta Was this translation helpful? Give feedback.
All reactions