会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白duzw
博客园
首页
新随笔
联系
订阅
管理
2024年8月27日
matplotlib 报ImportError: Cannot load backend 'TkAgg' which requires the 'tk' interactive framework, as 'headless' is currently running问题
摘要: 当使用linux系统,没有UI界面时,缺少一些UI库的时候, 使用matplotlib库时,可以设置 import matplotlib matplotlib.use('Agg') # 使用 Agg 后端 当第三方库使用到matplotlib库,不方便修改第三方库时, 可以安装虚拟服务 sudo a
阅读全文
posted @ 2024-08-27 16:59 小白duzw
阅读(861)
评论(0)
推荐(0)
公告