(solved) python-pip conflicts on system update

I don't know if this is something I did -probably not-, but I mention it since it may affect others running the unstable branch,

After a system update I got python-pip errors like this:

error: failed to commit transaction (conflicting files)
python-pip: /usr/lib/python3.8/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-38.pyc exists in filesystem

So, I decided to go to /lib/python3.8/site-packages/pip/ and delete all contents.
Running sudo pacman -Syyu after that completed the update without conflicts.

More than likely. Something compiled it and put it there. No conflicts here.

This is almost always because you did sudo pip ...
(dont do that)
See any related thread by using the search box in the top right.

3 Likes

Thank you both for correcting me.
I might have used sudo pip and forgot about it.

Forum kindly sponsored by