From 043ebff5b1bf3f8e7bed3692d2333bc2c771c251 Mon Sep 17 00:00:00 2001 From: tang-mm <3333407+tang-mm@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:03:35 +0800 Subject: [PATCH] add note about fixing Python locale error (#151) * add note about Python locale error * update README Co-authored-by: Ruth Fuchss --------- Co-authored-by: Ruth Fuchss --- readme.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.rst b/readme.rst index f891ec36..3ed5bec1 100644 --- a/readme.rst +++ b/readme.rst @@ -111,6 +111,10 @@ This will do several things: The ``run`` target is therefore very convenient when preparing to submit a change to the documentation. +.. note:: + + If you encounter the error ``locale.Error: unsupported locale setting`` when activating the Python virtual environment, include the environment variable in the command and try again: ``LC_ALL=en_US.UTF-8 make run`` + Local checks ~~~~~~~~~~~~