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 dbr
Recipients dbr, gregory.p.smith, mark.dickinson, shivam_python_issues, terry.reedy, vstinner
Date 2017-03-04.22:41:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488667302.39.0.159779729993.issue13986@psf.upfronthosting.co.za>
In-reply-to
Content
I saw a similar error with Python 3.6 on a MIPS (32-bit - mipsisa32r2el-axis-linux-gnu) platform, but during interpreter startup, not install (perhaps because it was cross-compiled so install on the host doesn't run the target Python). It was due to building with a hard-float compiler when soft-float was needed (GCC 6.3.0, worked with --with-float=soft). Full error:

Fatal Python error: Py_Initialize: Unable to get the locale encoding
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 762, in get_code
ValueError: cannot convert float NaN to integer

Program received signal SIGABRT, Aborted.
History
Date User Action Args
2017-03-04 22:41:42dbrsetrecipients: + dbr, terry.reedy, gregory.p.smith, mark.dickinson, vstinner, shivam_python_issues
2017-03-04 22:41:42dbrsetmessageid: <1488667302.39.0.159779729993.issue13986@psf.upfronthosting.co.za>
2017-03-04 22:41:42dbrlinkissue13986 messages
2017-03-04 22:41:42dbrcreate