unable to install wkhtmltopdf with patched qt in ubuntu
**kwargs) File /home/itcast/git-project/py34env/lib/python3.4/site-packages/click/core.py, line 697, in __call__ return self.main(*args, line 159。
stderr)) OSError: wkhtmltopdf exited with non-zero code -6. error: The switch --outline-depth, file_name, file_name) File runoob2pdf.py。
**kwargs) File runoob2pdf.py, options=options) File /home/itcast/git-project/py34env/lib/python3.4/site-packages/pdfkit/api.py, Traceback (most recent call last): File runoob2pdf.py, and will be ignored.QXcbConnection: Could not connect to display 解决方法: sudo apt-get update sudo apt-get install libxrender1 fontconfig xvfb wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz -P /tmp/ cd /opt/ sudo tar xf /tmp/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz sudo ln -s /opt/wkhtmltox/bin/wkhtmltopdf /usr/bin/wkhtmltopdf , in from_file return r.to_pdf(output_path) File /home/itcast/git-project/py34env/lib/python3.4/site-packages/pdfkit/pdfkit.py, in main rv = self.invoke(ctx) File /home/itcast/git-project/py34env/lib/python3.4/site-packages/click/core.py, line 156, **ctx.params) File /home/itcast/git-project/py34env/lib/python3.4/site-packages/click/core.py, in module main() File /home/itcast/git-project/py34env/lib/python3.4/site-packages/click/core.py。
line 120, in to_pdf raise IOError(wkhtmltopdf exited with non-zero code {0}. error:\n{1}.format(exit_code, line 535, is not support using unpatched qt, line 146, in main save_pdf(htmls, in invoke return callback(*args。
line 722, line 49, in invoke return ctx.invoke(self.callback, line 895, in save_pdf pdfkit.from_file(htmls,。
相关热词:
本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!
本文地址: https://www.juheyunku.com/xt/ub/11001.shtml
热门TAG
命令 外链 企业网站 白帽 php 织梦教程 dedecms修改内容 javascript 织梦 功能 标签 调用 详解 技巧 权重 服务器 网站流量 Dedecms 织梦cms HTML tags标签 python jquery教程 jquery windows 蜘蛛 搜索引擎 网站收录 JSP 实例解析最新文章
-
ubuntu16.04安装nfs server
时间:2021-01-04
-
Ubuntu16.04及ROS Kinetic环境下
时间:2020-12-28
-
进入WSL(或者说Bash on Ubun
时间:2020-12-28
-
Ubuntu下连接激光
时间:2020-12-27
-
Ubuntu 16.0.4开启log-bin
时间:2020-12-27
-
Ubuntu16.04下安装vim8,并支
时间:2020-12-27
-
Ubuntu 16.04编译Android 7.1.2
时间:2020-12-27
-
高分辨率笔记本的LinuxMi
时间:2020-12-27
热门文章
-
哪一种Ubuntu官方版本最适合你?
时间:2020-12-22
-
高分辨率笔记本的LinuxMint/Ubuntu调适
时间:2020-12-27
-
Ubuntu 18.04 LTS首个Beta风味版本下载
时间:2020-12-22
-
Ubuntu下安装Docker教程
时间:2020-12-23
-
Ubuntu 17.10已经发布-看看新功能
时间:2020-12-26
-
Ubuntu下连接激光
时间:2020-12-27
-
ubuntu16.04编译安装arachni扫描器
时间:2020-12-27
-
Ubuntu下添加开机启动项的2种方法
时间:2020-12-23
-
详解Ubuntu snap包的制作过程
时间:2020-12-27
-
Ubuntu下登录ftp出现乱码问题解决
时间:2020-12-27
