Hi all,

I got an error while running this:

amidatacyber730:~$ python3.6
Python 3.6.6 (default, Oct 11 2018, 12:39:19)
[GCC 4.2.1 Compatible OpenBSD Clang 6.0.0 (tags/RELEASE_600/final)] on o
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.setlocale(locale.LC_ALL, "it_IT.UTF-8")
'it_IT.UTF-8'
>>> locale.currency(6.4)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/locale.py", line 262, in currency
    raise ValueError("Currency formatting is not possible using "
ValueError: Currency formatting is not possible using the 'C' locale.
>>> quit()

amidatacyber730:~$ locale -a | grep IT
it_IT.UTF-8

amidatacyber730:~$ uname -mrsv
OpenBSD 6.4 GENERIC.MP#3 amd64

Thank you,

Luca

Reply via email to