Skip to content

Instantly share code, notes, and snippets.

@podolskyi
Created August 22, 2016 10:01
Show Gist options
  • Save podolskyi/752a485c0c23ff884772b76b84bdc92c to your computer and use it in GitHub Desktop.
Save podolskyi/752a485c0c23ff884772b76b84bdc92c to your computer and use it in GitHub Desktop.
Mac OS X: ValueError: unknown locale: UTF-8 in Python
# If you have faced the error on MacOS X, here's the quick fix - add these lines to your ~/.bash_profile:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment