AttributeError: 'NoneType' object has no attribute 'get'
PyCharm运行报错
Traceback (most recent call last):
File “/usr/lib/python2.7/encodings/init.py”, line 74, in search_function
entry = _cache.get(encoding, _unknown)
AttributeError: ‘NoneType’ object has no attribute ‘get’
go to the Settings->Tools->Python Scientific and uncheck “Show plots in toolwindow”
转自https://blog.youkuaiyun.com/Ben__Xu/article/details/80851334