Jetson Nano配置环境.1

先换源

deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main multiverse restricted universedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main multiverse restricted universedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main multiverse restricted universedeb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main multiverse restricted universe
yunswj@yunswj-desktop:~/Desktop$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak yunswj@yunswj-desktop:~/Desktop$ sudo nano /etc/apt/sources.listyunswj@yunswj-desktop:~/Desktop$ sudo nano /etc/apt/sources.list

先备份,然后打开文件,将第一个代码复制进去,保存退出.

再执行一次,看看有没有保存好.

可以在code里面直接打开

这个是code内部打开的燕子

sudo apt-get updatesudo apt-get full-upgrade

这个命令是装关于中文输入法的,我不装

yunswj@yunswj-desktop:~/Desktop$ sudo apt-get install python3-pip python3-dev

安装Python3+pip 的库

再执行一次,前提是你知道,没有软件安装的服务再后台运行

把pip更新一下

yunswj@yunswj-desktop:~/Desktop$ sudo nano /usr/bin/pip3

这个地方有bug

改成这样

sudo apt-get install python3-scipysudo apt-get install python3-pandassudo apt-get install python3-sklearn

机器学习库安排

opencv,安排

(0)

相关推荐