Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Error installing webchat on Pi4 / bookworm
Hello,
Trying to install webchat, located at github.com/km4ack/webchat. I get the following error: Hit:1 bookworm InRelease Hit:2 bookworm-security InRelease Hit:3 bookworm-updates InRelease Hit:4 bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 19 packages can be upgraded. Run 'apt list --upgradable' to see them. installing aprsd 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 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. mv: cannot overwrite non-directory '/home/pi/bin/webchat/webchat' with directory '/home/pi/bin/webchat' sed: can't read /home/pi/bin/webchat/webchat.desktop: No such file or directory mv: cannot stat '/home/pi/bin/webchat/webchat.desktop': No such file or directory Please note, I do have python3-full installed. Thanks in advance. |
||||
Thanks! ? -- Mike WB8ERJ Packet BBS email: WB8ERJ@WB8ERJ.#NEOH.OH.USA.NOAM Geeze! What is he up to now? On Thu, Mar 6, 2025 at 7:43?AM km4ack via <jason.oleham=gmail.com@groups.io> wrote:
|
||||
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
or? ? ? ?? echo "break-system-packages = true" | sudo tee -a /etc/pip.conf 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...] |
||||
Hey thanks for this. ? -- Mike WB8ERJ Packet BBS email: WB8ERJ@WB8ERJ.#NEOH.OH.USA.NOAM Geeze! What is he up to now? On Fri, Mar 7, 2025 at 7:14?AM km4ack via <jason.oleham=gmail.com@groups.io> wrote:
|
||||
Kevin, I wanted to update you on my progress with the Webchat / python3 issue. Again thank you for your input. I was able to install Webchat successfully. However on my install, there was no?~/.conf/pip-.pip.conf file. Specifically no .conf folder but rather a .config folder. In the .config folder there was no pip.conf file, so I opted for the global solution you suggested - add "break-system-packages = true" in the /etc/pip.conf file. This was the fix for me. Thank you Kevin, I greatly appreciate your input. ? -- Mike WB8ERJ Packet BBS email: WB8ERJ@WB8ERJ.#NEOH.OH.USA.NOAM Geeze! What is he up to now? On Fri, Mar 7, 2025 at 8:31?AM Mike Thompson via <wb8erj=gmail.com@groups.io> wrote:
|
||||
There seems to be a translate error when I copy/pasted, it should have been:
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 ?
I really don't like the lack of a preview here... Oh well...?
Glad you got it working...
--
= = = = ? Kevin? --? KD9EFV |
to navigate to use esc to dismiss