python包冲突问题与matplotlib版本不兼容问题记录

在执行项目时,遇到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

问题解决

posted @ 2021-07-19 11:55  番茄--  阅读(2339)  评论(0)    收藏  举报