I stumbled upon PyUnicodeUCS4_FromStringAndSize when inserting TensorFlow with pip

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

I stumbled upon PyUnicodeUCS4_FromStringAndSize when inserting TensorFlow with pip
When moss with pip install
I stumbled upon trying Pylearn 2
A story that stumbled when I made a chatbot with Transformer
What I stumbled upon using Airflow
Precautions when installing tensorflow with anaconda
What I stumbled upon when using CodeIgniter on a Linux server
I tried to implement Autoencoder with TensorFlow
I tried to visualize AutoEncoder with TensorFlow
Put TensorFlow in P2 instance with pip3
When I get an error with PyInstaller
A workaround when installing pyAudio with pip.
I can't install the package with pip.
A memo that I stumbled upon when doing a quote RT on Twitter Bot
I measured the time when I pip installed the C language dependent module with alpine
Error when installing a module with Python pip
I can't install Dask with pip on Ubuntu
I got an error when saving with OpenCV
How to deal with errors when hitting pip ②
I tried non-negative matrix factorization (NMF) with TensorFlow
I get a UnicodeDecodeError when running with mod_wsgi
I got an error when pip install pandas on Mac, so I dealt with it