wsl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wsl [2020/11/19 17:57] – [Installation] dblume | wsl [2023/04/14 17:19] (current) – Add instructions to allow matplotlib to plot dblume | ||
---|---|---|---|
Line 8: | Line 8: | ||
sudo apt upgrade | sudo apt upgrade | ||
sudo apt-get install python3-pip | sudo apt-get install python3-pip | ||
- | sudo apt-get install ctags jq tree expect gnuplot httpie | + | sudo apt-get install ctags jq tree expect gnuplot httpie |
sudo python3 -m pip install matplotlib | sudo python3 -m pip install matplotlib | ||
- | | + | |
+ | ===== MatPlotLib ===== | ||
+ | |||
+ | Need to [[https:// | ||
+ | |||
+ | sudo apt install python3-gi-cairo | ||
+ | |||
+ | Maybe also need to [[https:// | ||
+ | |||
+ | <file bash patch.txt> | ||
+ | diff --git i/ | ||
+ | index e9e78b43e..486ba9c1e 100644 | ||
+ | --- i/ | ||
+ | +++ w/ | ||
+ | @@ -36,12 +36,13 @@ backend_version = " | ||
+ | | ||
+ | |||
+ | | ||
+ | + _display = Gdk.Display.get_default() | ||
+ | | ||
+ | - cursors.MOVE: | ||
+ | - cursors.HAND: | ||
+ | - cursors.POINTER: | ||
+ | - cursors.SELECT_REGION: | ||
+ | - cursors.WAIT: | ||
+ | + cursors.MOVE: | ||
+ | + cursors.HAND: | ||
+ | + cursors.POINTER: | ||
+ | + cursors.SELECT_REGION: | ||
+ | + cursors.WAIT: | ||
+ | } | ||
+ | | ||
+ | # Happens when running headless. | ||
+ | </ |
wsl.1605837426.txt.gz · Last modified: 2023/04/12 20:44 (external edit)