Message288995
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. |
|
Date |
User |
Action |
Args |
2017-03-04 22:41:42 | dbr | set | recipients:
+ dbr, terry.reedy, gregory.p.smith, mark.dickinson, vstinner, shivam_python_issues |
2017-03-04 22:41:42 | dbr | set | messageid: <1488667302.39.0.159779729993.issue13986@psf.upfronthosting.co.za> |
2017-03-04 22:41:42 | dbr | link | issue13986 messages |
2017-03-04 22:41:42 | dbr | create | |
|