标签:code stat leave tor dia pool ack drivers 怎么办
被tensorflow 1.8, ubuntu 16.04, cuda 9.0, nvidia-390折磨了5天,终于上坑,留下指南,造福后人。
1.先把依赖搞清楚:
tensorflow 1.8依赖cuda 9.0,cuda 9.0依赖nvidia-390。
2.坑:
ubuntu 16.04源里只有nvidia-384,nvidia-390太新还没支持。
怎么办?
如果你不在天朝以下可以在个人源中安装nvidia-390
如果你在天朝ppa速度极慢,只能手动从这里下载:
http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/pool/main/n/nvidia-graphics-drivers-390/nvidia-390_390.48-0ubuntu0~gpu16.04.3_amd64.deb
3. 安装顺序,很关键,必需安装先cuda再nvidia-390的顺序,否则会造成loop login 循环登陆 无法进入桌面:
dpkg
install a package and package dependency is not satisfied, it leaves the package in unconfigured
state and that package is considered as broken. sudo apt-get install -f
command tries to fix this broken package by installing the missing dependency.4. 完。
tensorflow 1.8, ubuntu 16.04, cuda 9.0, nvidia-390,安装踩坑指南。
标签:code stat leave tor dia pool ack drivers 怎么办
原文地址:https://www.cnblogs.com/congliu/p/9040921.html