>>> import matplotlib.pyplot as plt
Traceback (most recent call last):
File "<console>", line 1, in <module>
ModuleNotFoundError: No module named 'matplotlib'
答案1
安裝matplotlib
對於系統 python 使用以下命令:
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install python3-matplotlib