Hacker News new | past | comments | ask | show | jobs | submit login

That is how PATH works. An installer would have to be doing something seriously wonky to get that wrong.

IMO installer should check existing PATH and warn user that this installation will change his python executable.

They could have used another mechanism than PATH.

bash does exactly that - it has command_not_found_handle function and distributions define it, so they can offer package installation for any command not found.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact