First of all, I should say that I am not a python expert.
I am struggling with different versions of python installed in my OS. I am running python v2.7 but after an update via brew, I got an issue. When I run a package called ilamb, I get the following error:
/usr/local/bin/ilamb-run: bad interpreter: /usr/local/opt/python/bin/python2.7: no such file or directory
The computer is somehow looking at local/opt folder, which I suspect was created from macports. I unfortunately deleted this folder because I was trying to standardize installations via brew and/or pip to avoid the kind of errors I am struggling with now. However, my python version is located at:
which python
/usr/bin/python
How can I point to the right location?