树莓派搭建python i2c开发环境
## 确保系统为最新的sudo apt-get updatesudo apt-get upgrade## 安装python工具sudo apt-get install pythonsudo apt-get install python-devsudo apt-get install libjpeg-devsudo apt-get install libfreetype6-devsudo apt-get install python-setuptoolssudo apt-get install python-pipsudo apt-get install easy_install如果提示找不到某个包就apt查找一下,替换为正确的名字sudo apt-cache search 关键字## 更新Python的库sudo easy_install -U distribute## 安装Python GPIO库sudo pip install RPi.GPIOsudo pip install pySerialsudo pip install nosesudo pip install cmd2
页:
[1]