上集说到由于运行了rm -rf命令,一直以来的工作环境都崩溃了。经过一个多小时的努力,基础软件已经完成了安装。这一篇主要是针对,python3.7, pointRCNN需要的依赖(包括cuda N卡驱动 pytorch等)。
更换下载源
参考:更换为阿里云下载源
Ubuntu系统自带的源都是国外的网址,国内用户在使用的时候网速比较慢。一个软件的下载是十分缓慢的,甚至在安装一些软件或者库的时候,是不能成功下载的,所以非常建议大家更换国内的源,这里建议大家使用阿里源,步骤如下:
备份原来的源:输入命令
sudo cp /etc/apt/sources.list /etc/apt/sources_init.list
添加源:使用命令
sudo gedit /etc/apt/sources.list
使用geit软件来修改文档,将下边的阿里源复制进去,然后点击保存关闭。
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricte