

Well, that could have been fixed by booting from an usb stick, chrooting into you real system and either downloading and (re)installing the python package this way, or, if your package manager depends on python, download the package in the Live Linux and extracting the python package into your system, and then reinstalling it, so the package management overwrites your “manual installation”.
Could be tedious, but less so that having to reinstall everything IMO.
When the debate revolved around Emacs vs. Vim, I used Spacemacs. It seem we moved on from that?
Is it now about VScode vs. (Neo)Vim?
Guess that means Vim won the Emacs vs. Vim debate then, when it got into the next round.