I usually use jupyterlab, but suddenly it can't be opened and I reinstalled it
All the modules I was using such as openpyxl and selenium had disappeared, so I thought I'd replace them all with pip install openpyxl.
/bin/bash: /usr/local/bin/pip: /usr/local/opt/python/bin/python3.7: bad interpreter: No such file or directory
I can not install it

What should I do? Also, I would like to know the reason why jupyter suddenly could not open.