跳至內容
選單
此問題已被標幟
1 回覆
3789 瀏覽次數

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
6月 25
2279
5
5月 25
3413
2
5月 25
746
1
8月 24
1546
1
5月 24
3762