查看cuda版本(与tensorflow版本密切相关):nvcc -V
查看该版本可以安装的tf-gpu版本:https://blog.csdn.net/weixin_38419133/article/details/91359941
创建conda虚拟环境(这里是python3.6):conda create --name tf-gpu python==3.6
进入tf-gpu环境中安装(适配版本的)tensorflow-gpu:conda install tensorflow-gpu==1.5