تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4064 أدوات العرض

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
يوليو 25
943
3
يونيو 25
4154
5
مايو 25
4767
2
مايو 25
1672
1
أغسطس 24
2241