Issue
when i run the command pip, it will give me this error
/usr/local/Cellar/pyenv/1.2.26/pyenv.d/exec/pip-rehash/pip: /Users/fatin/.pyenv/versions/3.7.6/bin/pip: /Users/fatin/.pyenv/versions/3.7.6/bin/python3.7: bad interpreter: No such file or directory
Not really sure what happened tbh. Might've been some other python downloads, at the moment seems like everything is messed up. I tried pretty much everything mentioned from the similar questions i.e link python again and nothing seems to be working
i've added an image below with the necessary details.
any input will be very much appreciated. thank you
Solution
Reinstalling pyenv seems to do it. thanks @tripleee for pointing it out
pyenv install
Answered By - tiredqa_18