先看看錯誤:
Traceback (most recent call last):
File "/home/darkchii/文檔/PycharmProjects/ml/model.py", line 3, in <module>
import matplotlib.pyplot as plt
File "/home/darkchii/.local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 71, in <module>
from matplotlib.backends import pylab_setup
File "/home/darkchii/.local/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 16, in <module>
line for line in traceback.format_stack()
File "/home/darkchii/.local/lib/python2.7/site-packages/matplotlib/backends/__init__.py", line 18, in <genexpr>
if not line.startswith(' File "<frozen importlib._bootstrap'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 23: ordinal not in range(128)
說是無法解碼18行,23列位置上的‘字節’,我也是醉了,關鍵第23列是這樣的:

圖中的startswith的sw的s。。。這叫我怎么改。。。
