Skip to content
Snippets Groups Projects
Forked from Flatland / Flatland
2145 commits behind the upstream repository.
FAQ.rst 1.08 KiB

Frequently Asked Questions (FAQs)

  • I get a runtime error with Click complaining about the encoding

    RuntimeError('Click will abort further execution because Python 3 \
    was configured to use ASCII as encoding for ...sk_SK.UTF-8, \
    sl_SI.UTF-8, sr_YU.UTF-8, sv_SE.UTF-8, tr_TR.UTF-8, \
    uk_UA.UTF-8, zh_CN.UTF-8, zh_HK.UTF-8, zh_TW.UTF-8')

    This can be solved by :

    export LC_ALL=en_US.utf-8
    export LANG=en_US.utf-8
  • We use importlib-resources to read from local files. Sample usages: