Deivitto / auditor-docker

https://hackmd.io/7zriwLB0SD6-3AUDv3pBBg?view
GNU General Public License v3.0
123 stars 11 forks source link

`pip3` is broken #17

Closed luksgrin closed 1 year ago

luksgrin commented 1 year ago

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.

Deivitto commented 1 year ago

fixed at https://github.com/Deivitto/auditor-docker/pull/20

luksgrin commented 1 year ago

Thanks Kanye, really epic