Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3090 มุมมอง


 PyPDF2.filters.decompress = _decompress

AttributeError: module 'PyPDF2' has no attribute 'filters'


Please Help


อวตาร
ละทิ้ง
ผู้เขียน

Thank you Waleed Mohsen
I found a newer version2 that was proven and seemed ineffective.

คำตอบที่ดีที่สุด

Please make sure you installed the correct library and correct version, as per Odoo requirements you need to install version 1.26.0.

You can check the PyPDF2 Library version:

pip3 show pypdf2

If it's not equal 1.26.0 then you can uninstall it and install version 1.26.0 as below:

pip3 uninstall pypdf2 
pip3 install PyPDF2==1.26.0

อวตาร
ละทิ้ง