文章目录
一、Linux学习笔记
1. 操作区
2. 报错区
-
apt update时出现Duplicate sources.list entry http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial Release
-
sudo apt update时报错 E: Unable to lock directory /var/lib/apt/lists/
-
Ubuntu更新时(sudo apt update)提示错误:E: Could not get lock /var/lib/dpkg/lock-frontend - open 解决方案
-
ubuntu系统启动提示:The system is running in low-graphics mode的快速解决办法
二、踩坑指南
1. 开发环境配置
1) NVIDIA 显卡驱动、cuda及cudnn配置
- ubuntu 16.04安装NVIDIA显卡驱动以及cuda、cudnn,以及解决Ubuntu循环登陆问题等
- ubuntu 安装多版本cuda,及切换版本方法
- 记一次安装cuda时出现的错误:cuda_9.0.176_384.81_linux.run: line 1: Failed: command not found
- E: Unable to locate package cuda-toolkit-9-0
- 【Ubuntu】Linux查看CUDA和cudnn版本方法
2)conda环境管理
- conda常用命令学习总结
- 如何在conda中降低Python版本
- conda创建环境时报错:NotWritableError: The current user does not have write permissions to a required path.
3)pip 环境管理
-
执行
pip list
时报错: ModuleNotFoundError: No module named pip._internal.cli.main -
No module named pip.main; ‘pip‘ is a package and cannot be directly executed
4)cmake配置
5)依赖配置记录
1.源码编译安装pytorch时执行git submodule update --init报错:
git submodule update --init时报错:Failed to recurse into submodule path third_party/protobuf