Unicode Encode Error

Traceback (most recent call last):
File “aqt/init.py”, line 30, in
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-2: ordinal not in range(128)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “runanki.py”, line 3, in
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “/home/dae/venv/lib/python3.8/site-packages/PyInstaller-4.0.dev0+g2886519-py3.8.egg/PyInstaller/loader/pyimod03_importers.py”, line 625, in exec_module
File “aqt/init.py”, line 32, in
Exception: Anki requires a UTF-8 locale.
[1110] Failed to execute script runanki

Python path configuration:
PYTHONHOME = ‘/home/grim/anki-2.1.49-linux/bin’
PYTHONPATH = (not set)
program name = ‘/home/grim/anki-2.1.49-linux/bin/Anki’
isolated = 0
environment = 0
user site = 0
import site = 0
sys._base_executable = ‘/home/grim/anki-2.1.49-linux/bin/Anki’
sys.base_prefix = ‘’
sys.base_exec_prefix = ‘’
sys.executable = ‘/home/grim/anki-2.1.49-linux/bin/Anki’
sys.prefix = ‘’
sys.exec_prefix = ‘’
sys.path = [
‘/home/grim/anki-2.1.49-linux/bin/base_library.zip’,
‘/home/grim/anki-2.1.49-linux/bin’,
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named ‘encodings’

Current thread 0x00007f13e5306740 (most recent call first):

What Linux distro are you using?

Sorry for not replying. It was on Arch Linux and it’s working now.