python - Ubuntu:QXcbConnection:无法连接到显示器无法连接到任何 X 显示器
问题描述
操作系统错误 wkhtmltopdf 以非零代码 1 退出。错误:QStandardPaths:XDG_RUNTIME_DIR 未设置,默认为 '/tmp/runtime-root' qt.qpa.screen:QXcbConnection:无法连接到显示器 无法连接到任何 X 显示器。
解决方案
推荐阅读
- java - 求解释 Long -> Byte Array -> String -> Byte Array -> Long
- android - 半矩形形状可绘制形状android
- javascript - 如何在vue js中使用axios body raw json获取请求
- border - Chromium 中缺少表格右边框
- go - 如何重建 net/http 库
- python - 使用 statsmodels 与 scikit-learn 进行逻辑回归:预测的巨大差异
- c++ - 在嵌套模板中使用类成员指针会导致 GCC 错误“子类型和基类型不匹配”
- java - 如何获取当前的休眠命名策略?
- acumatica - Acumatica - 将文件从约会复制到发票和备忘录
- javascript - 如何在 React/Next.js 中将 prop 传递给 img src require