Can't run Spyder on Linux Manjaro
I recently installed Anaconda from their official site. My operating system is Linux Manjaro, fully update. While trying to load spyder writing spyder in terminal I get this, as an output:
raceback (most recent call last): File "/home/jakub/anaconda3/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 22, in from PyQt5.QtWebEngineWidgets import QWebEnginePage ImportError: No module named 'PyQt5.QtWebEngineWidgets'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/jakub/anaconda3/bin/spyder", line 6, in sys.exit(spyder.app.start.main()) File "/home/jakub/anaconda3/lib/python3.5/site-packages/spyder/app/start.py", line 103, in main from spyder.app import mainwindow File "/home/jakub/anaconda3/lib/python3.5/site-packages/spyder/app/mainwindow.py", line 92, in from qtpy import QtWebEngineWidgets # analysis:ignore File "/home/jakub/anaconda3/lib/python3.5/site-packages/qtpy/QtWebEngineWidgets.py", line 26, in from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage ImportError: libselinux.so.1: cannot open shared object file: No such file or directory
I fully updated anaconda and anaconda metadata. The version of python that I installed (on purpose) is 3.5. Couldn't find an answer on the web.
Their is an open issue in the Spyder github : https://github.com/spyder-ide/spyder/issues/3383. it look similar than your problem.
You can still install Spyder and PyQt5 with pip instead of with Anaconda/Miniconda. However, that has its problems too, like https://github.com/spyder-ide/spyder/issues/3520.
Or maybe try to install everything in your project virtualenv... I don't know if it will be better but maybe.