¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Error installing webchat on Pi4 / bookworm


 
Edited

Not quite true, as there are several solutions to " Bookworm now requires it to be in a virtual environment. "
?
1) it's not a Bookworm issue, it's a Python 3 issue.

2) The easiest break-fix is to add " --break-system-packages" to the end of the install line.
?
3) Next 'easiest' break-fix is to add "break-system-packages = true"
????????? to ~/.config/pip/pip.conf (preferred) or globally in /etc/pip.conf
? ? ?you could do
?????????
? ? ? ?? mkdir -p ~/.config/pip
???????? echo "break-system-packages = true" | sudo tee -a ~/.config/pip/pip.conf
or
? ? ? ?? echo "break-system-packages = true" | sudo tee -a /etc/pip.conf
or

4) go through the 'learn python virtual environments' lessons fount in YouTubes...
?
I have added the first solution under #3 to my setup new images
scripts for myself. It presets and pre-installs a number of things,
including sendemail, Python Get Gridsquare, openssl, pam
authentication, dos2unix, samba, ntfs-3g, gcc make, git, neofetch (now
removed from debian trixie repos) net-tools, conky, curl and more...
it presets some config files like above, copies other config files
over from a samba share, and otherwise makes my life easier.
--
= = = =

? Kevin? --? KD9EFV
?
[edited to fix #3...]

Join [email protected] to automatically receive all group messages.