For anyone who does live demos with the terminal u...
# random
p
For anyone who does live demos with the terminal using iTerm2, I just found this setting and am unreasonably happy about it!
🤩 5
🤯 3
m
Have you also already managed to solve the issue, that the recent update to
iTerm 3.5
broke
conda
? When I type
conda
in iTerm2, I now get:
Copy code
matthias.zepper@matthiaszmbp Coding % conda
Fatal Python error: config_get_locale_encoding: failed to get the locale encoding: nl_langinfo(CODESET) failed
Python runtime state: preinitialized
In the Terminal app, it still works like a charm.
$PYTHONHOME
and
$PYTHONPATH
are undefined in my plain shell, but will be set in a seemingly incompatible way by the default Conda environment, which now refuses to load.
p
Yes I did - some stuff changed with how locale is handled in iTerm with this release
I also had all output from
git
commands start coming back to me in Swedish 😅
Solution is to manually set the
$LC_LOCALE
in the profile settings
CleanShot 2024-05-29 at 19.14.46@2x.png
Set to a language + UTF-8 and stuff should work again
😌 1
m
Thanks so much for the detailed response! For some reason,
English (Australia)
was set there, likely because it is first English entry in the list? Very happy that this didn’t result in all text being upside down 🌏 and jumping around 🦘 in the window 😄.
😅 1