入驻于 2024-06-21 / MAKE 主页
用这个命令:sudo apt install python3-pyinstaller
找不到对应的安装包
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-pyinstaller
用这个命令,会出现这个问题,安装不上
pip install pyinstaller
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
在/boot分区放入的方式证明对我的板子没有什么用。
最后可以起作用的方法,还是共享给大家:最核心的是最后一个命令,这个用了,才能改变开机画面,感谢小花在外网找到解决方案。
先把启动图片复制到树莓派桌面上
命名为splash.png
打开terminal
cd /usr/share/plymouth/themes/pix
sudo mv splash.png splash_default.png
cd
cd Desktop
sudo cp splash.png /usr/share/plymouth/themes/pix
sudo plymouth-set-default-theme --rebuild-initrd pix
找不到boot分区,使用的操作系统是官方镜像,哪里去找官方的说明?
:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm