I cannot launch Spyder as I have reinstalled many times, the problems are listed below:
Traceback (most recent call last):
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/utils/external/lockfile.py”, line 164, in lock
symlink(str(os.getpid()), self.name)
FileExistsError: [Errno 17] File exists: ‘90226’ → ‘/Users/user/.spyder-py3/spyder.lock’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/utils/external/lockfile.py”, line 191, in lock
kill(int(pid), 0)
ProcessLookupError: [Errno 3] No such process
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/app/start.py”, line 204, in main
lock_created = lock.lock()
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/utils/external/lockfile.py”, line 199, in lock
rmlink(self.name)
PermissionError: [Errno 13] Permission denied: ‘/Users/user/.spyder-py3/spyder.lock’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/qtpy/QtWebEngineWidgets.py”, line 21, in
from PyQt5.QtWebEngineWidgets import QWebEnginePage
ModuleNotFoundError: No module named ‘PyQt5.QtWebEngineWidgets’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/Users/user/opt/anaconda3/bin/spyder”, line 11, in
sys.exit(main())
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/app/start.py”, line 224, in main
from spyder.app import mainwindow
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/spyder/app/mainwindow.py”, line 59, in
from qtpy import QtWebEngineWidgets # analysis:ignore
File “/Users/user/opt/anaconda3/lib/python3.9/site-packages/qtpy/QtWebEngineWidgets.py”, line 27, in
from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage
ModuleNotFoundError: No module named ‘PyQt5.QtWebKitWidgets’