I had a hard time trying to put TensorFlow on the GPU server in the laboratory.
Error because the internal representation of Python's Unicode string is ucs2
Recompile Python to ucs4.
$ ./configure --enable-unicode=ucs4 $ make && make altinstall
The version of protobuf is wrong
$ pip uninstall protobuf $ pip uninstall tensorflow $ pip install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl