Unable to install es2csv in Ubuntu

Views: 225 Ask New Question

I am getting error locale.Error: unsupported locale setting when trying to install es2csv on Ubuntu 16.04
Following is the complete trace

[email protected]:~# pip install es2csv
Traceback (most recent call last):
  File "/usr/bin/pip", line 11, in <module>
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 215, in main
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.7/locale.py", line 581, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting
On By

1 Answer

Run export LC_ALL=C before installing es2csv.
So the installation commands looks like below

export LC_ALL=C
pip install es2csv
On By

Answer This Question