一、问题
我使用了以下命令
sudo anaconda-navigator --reset
发现报了以下错误
ImportError: dlopen(/Users/simley/.local/lib/python3.9/site-packages/PyQt5
二、解决方法
1. 找到python的路径
$ which python3
/Users/simley/opt/anaconda3/bin/python3
2. 使用以下命令重装了pyqt5
/Users/simley/opt/anaconda3/bin/python3 -m pip install --force-reinstall pyqt5
最后就能打开了
希望能帮到你