Odoo 15:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/bodedra/odoo15/src/odoo/odoo/service/server.py", line 473, in target
self.cron_thread(i)
File "/home/bodedra/odoo15/src/odoo/odoo/service/server.py", line 429, in cron_thread
from odoo.addons.base.models.ir_cron import ir_cron
File "/home/bodedra/odoo15/src/odoo/odoo/addons/base/__init__.py", line 5, in <module>
from . import models
File "/home/bodedra/odoo15/src/odoo/odoo/addons/base/models/__init__.py", line 13, in <module>
from . import ir_actions_report
File "/home/bodedra/odoo15/src/odoo/odoo/addons/base/models/ir_actions_report.py", line 26, in <module>
from PyPDF2 import PdfFileWriter, PdfFileReader, utils
ImportError: cannot import name 'utils' from 'PyPDF2' (/home/bodedra/odoo15/src/venv/lib/python3.8/site-packages/pypdf2-3.0.1-py3.8.egg/PyPDF2/__init__.py)
Resolved with
pip install PyPDF2==1.26.0
No comments:
Post a Comment