Having an issue with my python install and various packages after trying to get to grips with pipenv (clearly didnt go well).
➜ which Python
/usr/bin/Python
➜ which python3.8
/usr/local/bin/python3.8
Then any command I run that isn't directly a python command throws a bad interpreter error
➜ pip
zsh: /usr/local/bin/pip: bad interpreter: /usr/local/opt/python/bin/python3.7: no such file or directory
➜ django-admin
zsh: /usr/local/bin/django-admin: bad interpreter: /usr/local/opt/python/bin/python3.7: no such file or directory
Not entirely sure what the cause is, so I am struggling to figure out how to resolve it. But basically any command that I run which involves a python package throws the same error