I believe I may have found the cause of the problem.
One of my Python reference books made the following statement:
"The locale must be installed on the OS, otherwise setlocale raises a locale Error: unsupported locale setting exception."
From: Ramalho, Luciano. Fluent Python: Clear, Concise, and Effective Programming (p. 130). O'Reilly Media. Kindle Edition.
So I'm hypothesizing that the locale must not be installed in LE version 9.1.002.
chewitt , If my hypothesis is correct, is there anything I can do to fix the problem short of recompiling?