Hi!
Please tell me, I can’t figure out how to fix it.
When I try to initialize Snaprcraft, the following error appears:
[helg@Houston MakePackage]$ snapcraft init
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
Traceback (most recent call last):
File "/snap/snapcraft/5143/bin/snapcraft", line 33, in <module>
sys.exit(load_entry_point('snapcraft==4.1.1', 'console_scripts', 'snapcraft')())
File "/snap/snapcraft/5143/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/snap/snapcraft/5143/lib/python3.6/site-packages/click/core.py", line 760, in main
_verify_python3_env()
File "/snap/snapcraft/5143/lib/python3.6/site-packages/click/_unicodefun.py", line 130, in _verify_python3_env
" mitigation steps.{}".format(extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/python3/ for mitigation steps.
This system lists a couple of UTF-8 supporting locales that you can pick from. The following suitable locales were discovered: en_US.utf8, ru_RU.utf8
Click discovered that you exported a UTF-8 locale but the locale system could not pick up from it because it does not exist. The exported locale is 'cv_RU.UTF-8' but it is not supported