This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Sebastien Foo
Recipients Sebastien Foo
Date 2020-01-20.15:57:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579535856.72.0.329847745345.issue39397@roundup.psfhosted.org>
In-reply-to
Content
Hello,
I am facing an issue with python on mac and there is not much information that I can find to fix it.
When I installed the latest cli for Azure (brew upgrade azure-cli) it installed python 3.8
And then the az cli failed and running the python 3.8 failed too with the following error.
 
/usr/local/Cellar/python@3.8/3.8.1/Frameworks/Python.framework/Versions/3.8/bin/python3.8
Fatal Python error: config_get_locale_encoding: failed to get the locale encoding: nl_langinfo(CODESET) failed
Python runtime state: preinitialized
 
I have tried to reinstall python and the azure cli without success.

Any help would be much appreciated.
History
Date User Action Args
2020-01-20 15:57:36Sebastien Foosetrecipients: + Sebastien Foo
2020-01-20 15:57:36Sebastien Foosetmessageid: <1579535856.72.0.329847745345.issue39397@roundup.psfhosted.org>
2020-01-20 15:57:36Sebastien Foolinkissue39397 messages
2020-01-20 15:57:36Sebastien Foocreate