突然间,每当我打电话matplotlib.pyplot.plot(在unix操作系统内)时,屏幕上都会显示以下错误:
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Run Code Online (Sandbox Code Playgroud)
此错误不会中断该功能; 情节创建成功.但这个错误意味着什么?
用户linuxforums.org能够找到防止错误的方法:
"我不确切知道原因,但是在sudoers文件中为用户授予权限,然后使用该sudo命令运行程序,修复了错误."
然而,这仍然没有解决错误的原因以及它是否会影响所有正在进行的过程.
有没有需要编辑sudoers文件的解决方案?
注意:我在共享计算集群上做这项工作.