AttributeError: ‘NoneType‘ object has no attribute ‘get‘

AttributeError: 'NoneType' object has no attribute 'get'

  • PyCharm运行报错

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.csdn.net/Ben__Xu/article/details/80851334

你可能感兴趣的:(python)