当前位置:网站首页>对《继续树莓派4B+OLED:开机自动显示IP地址》的补充,针对 Raspberry Pi OS Lite 64-bit
对《继续树莓派4B+OLED:开机自动显示IP地址》的补充,针对 Raspberry Pi OS Lite 64-bit
2022-04-22 19:20:00 【Ki1381】
相比Desktop版,Raspberry Pi OS Lite还是精简了不少东西的,很多命令或库在桌面版的终端窗口里能运行,不代表在Lite里也一定可以。可能缺少必要的支持库,甚至根本就没有这个命令,无论是python还是某些命令行。
以OLED开机显示IP地址为例,Lite下需要额外做以下工作:
1、检查I2C地址的工具i2cdetect没有,但可通过 apt install python3-smbus 获取;
2、 git工具未自带,要apt install git;
3、python库很多也缺失,建议 apt install python3-dev python3-pip python3-pil
4、(本条可选)apt install 字体工具 fontconfig、微软字体 ttf-mscorefonts-installer
5、setup.py install无法正常运行,需要 wget https://bootstrap.pypa.io/ez_setup.py && python3 ez_setup.py
6、字体文件的类型和路径可能在desktop和lite之间有出入,需要在python脚本里确定定义字体的语句。
其它倒是没啥。
版权声明
本文为[Ki1381]所创,转载请带上原文链接,感谢
https://ki1381.blog.csdn.net/article/details/124352598
边栏推荐
猜你喜欢

(3) MySQL constraints

ArrayList learning notes

Index in MySQL database (including SQL statement)

Database index

The function of final and why string is immutable

【面试普通人VS高手系列】请说一下网络四元组

ArrayList学习笔记

Official component amap of Gaud fluent_ Flutter_ Map draw a circle on the map

Network security -- the use of burp suite packet capture tool

14-Sprak设置自动分区
随机推荐
Learn this framework by using the mastering ABP framework
添加/删除/筛选/排序数组元素
postman 测试 Array、List、Map 入参 API 正确姿势
13-Set Time Zone
消息队列最佳实践
静态分派和动态分派
Project training - Design and development of 2D multiplayer scuffle game based on unity (III. unity plasticscm multiplayer collaboration)
C # joint programming with Halcon
VS 2022 安装vld内存泄漏检测工具
The beautiful and comfortable kn95 mask has strong protection ability
WebRTC:Mesh/MCU/SFU三种通信架构
The fourth day of LC brushing
The function of final and why string is immutable
final的作用以及String为什么不可变
Detailed explanation of redis deployment in Linux Environment
值得推荐的chrome插件
dbnet字符检测详细网络结构图
webrtc+turn+peerconnection_ Server measurement delay
阿里云安装 ffmpeg
防火门可以根据EN 1634-1 标准测试吗?