The pip3 alias is defined within .bashrc as follows:
alias pip3="pip3.9"
This does not work. I imagine the intention is to use python3.9's corresponding pip. The fix is:
- alias pip3="pip3.9"
+ alias pip3="python3 -m pip"
This only works because earlier python3 has been defined as an alias for python3.9. Cool feature is that if python3 points towards a different python version in the future, this alias will adapt appropriately.
Also, I would remove alias python3.9-pip='python3.9 -m pip' because it's obsolete given the fix above.
The
pip3
alias is defined within.bashrc
as follows:This does not work. I imagine the intention is to use
python3.9
's correspondingpip
. The fix is:This only works because earlier
python3
has been defined as an alias forpython3.9
. Cool feature is that ifpython3
points towards a differentpython
version in the future, this alias will adapt appropriately.Also, I would remove
alias python3.9-pip='python3.9 -m pip'
because it's obsolete given the fix above.