跳至内容
菜单
此问题已终结
1 回复
4039 查看

I am trying to install Odoo in a Raspberry Pi 4 (with raspberry pi OS). Odoo dosumentatios said that

"wkhtmltopdf is not installed through pip and must be installed manually in version 0.12.5 for it to support headers and footers. See our wiki for more details on the various versions."

But there is not a version for the ARM architecture. There is "Source code" version at "https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.5"

How can I install wkhtmltopdf from that Source code version in my Raspberry Pi?

形象
丢弃

I ran into exact the same problem.
Did you ever solve it?

最佳答案

For future reference I found a working solution for RPi.

First : wget https://github\.com/wkhtmltopdf/packaging/releases/download/0\.12\.6\-1/wkhtmltox_0\.12\.6\-1\.raspberrypi\.buster_armhf\.deb

Second\ : sudo\ apt\ install\ \./wkhtmltox_0.12.6-1.raspberrypi.buster_armhf.deb

Fairly easy.

形象
丢弃
相关帖文 回复 查看 活动
3
7月 25
795
3
6月 25
4011
5
5月 25
4680
2
5月 25
1589
1
8月 24
2174