Skip to Content
Menu
This question has been flagged
1 Atsakyti
3497 Rodiniai

Hello, I have had a few databases running on this server for some time. Suddenly all fail and from the logs I see "modulenotfounderror: No module named 'PyPDF2.utils'"

I am running PyPDF2==2.12.1 as per the requirements.txt. 

Anyone know how to fix this?

Thank you for responding.

Portretas
Atmesti
Best Answer

Hi,

This is a bug introduced in the core recently and it is expected to get fixed by this commit: https://github.com/odoo/odoo/pull/129707   . This is not merged yet, till then you can apply the patch directly in your odoo instance or you can change python version to less than 3.11





Thanks

Portretas
Atmesti
Autorius

Thank you very much Niyas. I updated the code and it is now running!
Awesome.