Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4033 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 7 25
781
3
thg 6 25
4001
5
thg 5 25
4667
2
thg 5 25
1581
1
thg 8 24
2172