Fix Spyder CXXABI not found and QT errors

I was installing QT5 packages in support of OpenGL Python interfaces, and found myself with errors including the following when trying to start Spyder:

from PyQt5.QtWebEngineWidgets import QWebEnginePage ImportError: ~/anaconda3/lib/python3.6/site-packages/numexpr/../../../libstdc++.so.6: version `CXXABI_1.3.8’ not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.55)

from PyQt5.QtWebKitWidgets import QWebPage as QWebEnginePage ImportError: ~/anaconda3/lib/python3.6/site-packages/PyQt5/../../../libQt5WebKit.so.5: symbol _ZN13QSGRenderNodeC2Ev, version Qt_5_PRIVATE_API not defined in file libQt5Quick.so.5 with link time reference

Fix for CXXABI not found’

Assuming you’re running Anaconda/Miniconda Python (put into whichever directory your Python install is under; might be different than ~/anaconda3.

cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ~/anaconda3/lib/

reference