SamsungLabs/MLI

NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968

remmel opened this issue · 0 comments

remmel commented

In google colab, I had the error
NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968
when calling
! rm -rf '/usr/local/share/jupyter/nbextensions/google.colab/multi-layer-viewer/mli_scene' cell.

I has been fixed by adding before

import locale
locale.getpreferredencoding = lambda: "UTF-8"