Even if I googled with PyUnicodeUCS4_FromStringAndSize, it did not come out so much, so a memo People in the pyenv and anyenv environments may fall into this.
It seems that you should specify --enable-unicode = ucs4
in the python compile option.
$ PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs4" pyenv install 2.7.10
Solution.
reference Qiita: Set python compile options with pyenv
TensorFlow has nothing to do with it, so I made it a Python tag
Recommended Posts