Created
August 23, 2018 00:14
-
-
Save aduquet/9e44aa904fb5873fdbd9d4dbb8b9d5e5 to your computer and use it in GitHub Desktop.
locale.Error: unsupported locale setting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was installing some python libraries that I needed, and this message came up: | |
Traceback (most recent call last): | |
File "/usr/bin/pip3", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/lib/python3/dist-packages/pip/__init__.py", line 215, in main | |
locale.setlocale(locale.LC_ALL, '') | |
File "/usr/lib/python3.5/locale.py", line 594, in setlocale | |
return _setlocale(category, locale) | |
locale.Error: unsupported locale setting | |
To solve this error, Try with the following: | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
sudo dpkg-reconfigure locales | |
Above 3 commands will reconfigure locales and that should solve the issue. | |
I will hope that the above works! Good Luck! | |
kind regards! | |
Aleja :) |
Thanks! Worked perfectly.
Great
Thanks. worked
Thx
thx
thx
Thank you!
Thank you
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @aduquet ! Really saved my time.