在执行项目时,遇到matplotlib版本不兼容问题
版本过低会出现:
ImportError: cannot import name '_backports' from 'matplotlib.cbook'
版本过高会出现:
ImportError: dlopen: cannot load any more object with static TLS
解决方法
pip uninstall matplotlib
pip install matplotlib==3.0.3
问题解决