在执行项目时,遇到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
问题解决
在执行项目时,遇到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
问题解决
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。