I have a small script in python, that make use of locale to format a number from 1.000,00 to 1,000.00
import re, locale
locale.setlocale(locale.LC_ALL, 'es_PE.UTF-8')
locale.atof(number)
Then when I run this in Lambda, I get this error message:
unsupported locale setting
I know how to install the dependencies in my PC by executing this commands in the terminal:
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales