You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an issue while trying to login to Hugging Face using the !huggingface-cli login command on Google Colab. The command results in the following error:
NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968
I managed to solve the issue by adding the following code before the login command:
Hi @ayyucedemirbas to login in a colab notebook, it is recommended to either set a Colab secret called HF_TOKEN (that you will be able to share between notebooks) or to run
Hi,
I encountered an issue while trying to login to Hugging Face using the
!huggingface-cli
login command on Google Colab. The command results in the following error:NotImplementedError: A UTF-8 locale is required. Got ANSI_X3.4-1968
I managed to solve the issue by adding the following code before the login command:
This solution works temporarily, but I believe the underlying issue should be addressed on the HuggingFace Hub.
Thank you for your time and attention.
The text was updated successfully, but these errors were encountered: