You are not logged in.
I am not sure what is causing this since I have installed everything by the (arch) book in terms of only using pacman to install.
Examples
sudo pacman -Sy yt-dlp
sudo pacman -Sy python-pip
Output:
$ pip3
Traceback (most recent call last):
File /usr/bin/pip3, line 5, in <module>
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip'
$ which pip
/usr/bin/pip
$ yt-dlp
Traceback (most recent call last):
File /usr/bin/yt-dlp, line 5, in <module>
from yt_dlp import main
ModuleNotFoundError: No module named 'yt_dlp'
$
This is a recent install on a laptop and have not had cause to use python yet and now run up with this issue.
Last edited by archuser38013 (2024-06-08 11:26:11)
Offline
You're performing partial upgrades. Don't do that.
https://wiki.archlinux.org/title/System … nsupported
Fully update your system, and see if that resolves the issue.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Don't install python packages by pip (or any packages by anything else, maybe one exception are "good" pacman wrappers) with root rights in system as it brake pacman full system update: error "file exist in filesystem" and then you would have to clean the system from files not installed by pacman.
Last edited by xerxes_ (2024-06-08 09:55:54)
Offline
You're performing partial upgrades. Don't do that.
https://wiki.archlinux.org/title/System … nsupported
Fully update your system, and see if that resolves the issue.
Thanks yes that seems to have fixed it.
Oops. Yes I knew that but I find myself doing it 'now and then' to prevent having to do a full upgrade and possibly breaking the system at an inconvenient time and before I know it 'now and then' has been many months .
I just completed an upgrade and the seems to have fixed it.
I shall aim to do full upgrades more often.
Last edited by archuser38013 (2024-06-08 11:27:39)
Offline