Closed tang-mm closed 9 months ago
Does "make install" run okay in this scenario? If not, we might need to move the note a bit higher, or change it to a troubleshooting section.
In the reported case, make install
completed without issue, the error occurred afterwards when the venv was activated. However this error seems to be a Python issue, not Sphinx.
If we expect to gather other tips in Readme, I'd be glad to convert them into a troubleshooting section
In the reported case,
make install
completed without issue, the error occurred afterwards when the venv was activated. However this error seems to be a Python issue, not Sphinx.If we expect to gather other tips in Readme, I'd be glad to convert them into a troubleshooting section
OK, then it seems like the right place for now. We can move it later if we get more troubleshooting content.
Description
This PR adds a note in Readme about how to resolve locale errors when activating the Python virtual environment. Some users may encounter a Python locale error when they use
make run
. This might be caused by the system environment variablelocale.LC_ALL
being empty. Adding the locale setting as a prefix in the make command resolves this issue.(Users may also choose to change this environment variable for their local dev environment, but there is a risk of causing other conflicts.)
Background
Error stack trace reported by a team member: