环境
contos 7
python 3.6.8
wkhtmltoiamge下载地址:
https://wkhtmltopdf.org/downloads.html
报错类型:
wkhtmltoimage reported an error:
Loading page (1/2)
Rendering (2/2)
Error: Could not write to output file
Error: Could not save image
Done
Exit with code 1, due to unknown error.
主要用于将html 转换为iMageFile 图片文件
- yum install Vxfc
- 打开windows c:\Windows\fonts\simsun.ttc拷贝到linux服务器/usr/share/fonts/目录下