install tensorflow

匿名 (未验证) 提交于 2019-12-03 00:30:01

1. system: kubuntu: 18.04, i have install nvidia driver 390.48.

there are two userful links to install driver:

2.https://askubuntu.com/questions/661922/how-am-i-supposed-to-use-nvidia-prime?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

in kubunt, i use the system setting drivers to choose nvidia drivers.

in debian, i use official site with nvidia and nvidia-prime to install nvidia drivers.


2.install cuda

CUDA Toolkit and Compatible Driver Versions: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

3. use local cuda9.0 deb to install , and i installed successfully. but after that , i can't use nvidia-smi and nvidia-settings.

4. i reboot, and after that , i can use nvidia-smi.


3. install cudnn


4. install libcupti-dev

cuda-command-line-tools package


5.install tensorflow


and i follows : https://github.com/tensorflow/tensorflow/issues/19375

i add this line:

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

to ~/.bashrc. and it turns ok.

so , that's all.

文章来源: install tensorflow
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!