1. Ubuntu14.04安装
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo apt-get purge python-six
sudo pip install --upgrade tensorflow_gpu-1.4.0-cp27-none-linux_x86_64.whl
2. failed call to cuInit: CUDA_ERROR_UNKNOWN
sudo apt-get install nvidia-modprobe
3. 安装多版本python和tensorflow
conda create -n snakes python=2
source activate snakes
pip install tensorflow-gpu=1.4
# 回到Python3
source deactivate