You are not logged in.
A while back, I installed python3.8 from the AUR for a reason I can't even remember. I uninstalled the package, but now, I can not execute any python commands without explicitly stating python3.9.
For instance
pip install <package> yields this error:
/usr/bin/python3.8: bad interpreter: No such file or directoryI must instead use
python3.9 -m pip install <package>What is still lingering in the system that makes 'python' look for a binary in the 3.8 directory? And how do I fix this?
Last edited by shoelesshunter (2021-03-24 12:29:00)
Offline
what does
ls -la /usr/bin/pythonreturn?
Offline
what does
ls -la /usr/bin/pythonreturn?
lrwxrwxrwx 1 root root 7 Feb 20 12:40 /usr/bin/python -> python3Offline
Never-mind. It seems the old way of 'pip install' was just messing up.
I can do 'python -m pip install' without specifying python version. I use beets music manager and it found all necessary plugins just fine.
Offline
Never-mind. It seems the old way of 'pip install' was just messing up.
I can do 'python -m pip install' without specifying python version. I use beets music manager and it found all necessary plugins just fine.
That is because of pip, not python.
What is the output of
type -a pipand can you guess why it is wrong?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline