Python3
作ったもの
メンテナンス
pip3によるメンテナンス
$ sudo pip3 list -o
エラー
code:com
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
対処
$ sudo apt-get install python3-gi-cairo
WSL で、Matplotlibの利用(2020頃)
以下のエラーが出たら
code: com
2020_1203_1.py:29: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
plt.show()
pip3ではなく、aptでthinkerをインストールする
code:com
$ sudo apt install python3-tk
https://gyazo.com/bfc6d00d7a81ff35a8ca1e6223f04d79