更新raspbian
apt-get update
apt-get upgrade
删除python2
sudo rm /usr/bin/python
安装python3
sudo apt-get install python3
链接python3
sudo ln -s /usr/bin/python3.版本 /usr/bin/python
查看python版本
python
查看python的安裝路径
运行python import sys print(sys.path)
安装pip
wget https://bootstrap.pypa.io/get-pip.py
运行
sudo python get-pip.py
稍等安装成功,安装成功后键入下指令查看版本
sudo pip -V
安装git
apt-get install git-core
查询进程
ps
杀死指定pid进程
kill -s 9 pid号
关于Pi Zero串口的配置:https://blog.csdn.net/RambleMY/article/details/81206090
开机自动执行脚本:http://www.cnblogs.com/in-dreams/p/7597619.html
配置自动启动程序: https://blog.csdn.net/qq_36501027/article/details/80360504
入门必做四事: http://blog.csdn.net/a_lpha/article/details/53116767
更换国内软件源:https://blog.csdn.net/wanshiyingg/article/details/52887019
树莓派 zeroWH 使用笔记
猜你喜欢
转载自www.cnblogs.com/BlogsOfLei/p/10550230.html
今日推荐
周排行