Skip to content

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

@loboere

Description

@loboere

Sometimes when I execute a cell this error appears, I must restart the execution environment to eliminate the error.


NotImplementedError Traceback (most recent call last)
in
----> 1 get_ipython().system('pip install ffmpeg-python')

2 frames
/usr/local/lib/python3.8/dist-packages/google/colab/_system_commands.py in _run_command(cmd, clear_streamed_output)
161 locale_encoding = locale.getpreferredencoding()
162 if locale_encoding != _ENCODING:
--> 163 raise NotImplementedError(
164 'A UTF-8 locale is required. Got {}'.format(locale_encoding))
165

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions