Reinstall non-working Python packages after a Python interpreter upgrade

I updated Manjaro, rebooted, updated the AUR packages, rebuilded python

$ pamac build $(pacman -Qoq /usr/lib/python3.10)

than I followed the ‘Minimal short version’ of that guide ‘Reinstall non-working Python packages after a Python interpreter upgrade
and everything went smooth, but 2 packages come up by pip check.

$ pip check
yt-dlp 2023.3.4 requires websockets, which is not installed.
electrum 4.3.2 has requirement protobuf<4,>=3.12, but you have protobuf 4.21.12

I followed all instructions by that guide, what do I miss and how to fix it?
Thanks for advice.

websockets is an optional dependency of yt-dlp, so it’s up to you if you want to install it

sudo pacman -S python-websockets --asdeps

You have the protobuf package in Manajro repos, but it seems to be newer than what electrum needs. There is a package in AUR with the version you need, but I am not sure can they both be installed at the same time and if you have some software that depends on the repo version.

Edit: Fixed typo

Oh, I searched for websockets instead of python-websockets and couln’d find it.

Electrum is a community project and should be updated!

The Manjaro Electrum package comes directly from Arch, and right now Arch hasn’t either updated that package. So, it’s going to take a little bit at least

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.