Anaconda Python + Spyder on WSL

Python can be used within Windows Subsystem for Linux. Using Python on WSL can be advantageous because of easier compiler access. Miniconda Python works well on WSL.

conda install matplotlib spyder

If Spyder won’t start, look in the error message for missing libraries such as libxcomposite libxss1 X11 prereqs are specified in the error message on starting GUI programs like Spyder.

ModuleNotFoundError: No module named ‘PyQt5.QtWebKitWidgets’

See if libxcomposite or libxss etc. need to be installed via apt install.


Notes on setting up Matplotlib for WSL