Dharmik
Dharmik

Reputation: 11

Issue came up in resolving ModuleNotFoundError with file not found after package conflicts found

I am trying to launch Spyder from anaconda navigator on my machine with Python 3.9, Anaconda 3, and MacOS M1 Monterey 12.1 (Just in case this might be a machine error I'm not aware about). I posted earlier trying to resolve an error that occurred when I tried to launch Spyder: ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets' When I tried to pip install the module, I got another error saying metadata-generation-failed. A user gave me a solution: running conda install -c anaconda pyqt and then conda install -c conda-forge pyqtwebengine. When I ran the former line, it went through with no issue but when I ran the latter, the terminal said there were many package conflicts and when I tried to run Spyder, it returns

/Users/myname/opt/anaconda3/bin/pythonw: line 3: /Users/myname/opt/anaconda3/python.app/Contents/MacOS/python: No such file or directory

How would I resolve this new issue? Thank you in advance!

Upvotes: 0

Views: 21

Answers (0)

Related Questions