I have tried to install Spyder and Jupyter notebook using Terminal on my macOs (Mojave) but I am keep getting error:
/usr/local/bin/pip3: bad interpreter: /usr/local/opt/python@3.9/bin/python3.9: no such file or directory
I have installed Python 3.8.4 and it works on my MacBook but not on my desktop. I have tried to define a path in my bash file but without a success.