Skip to Content
Menu
This question has been flagged
1 Reply
25995 Views

i just learn Odoo
iam user windows 10
I just installed Odoo V11
I use phycarm
then I tried to make a custom module
but an error like that appears when i run in pycharm

iam use python 3.6 froom odoo 11
I have tried installing Pypdf2 but it's the same
is there a solution?
thank you

C:\Users\ghiya\AppData\Local\Programs\Python\Python36\python.exe "C:/Program Files (x86)/Odoo 11.0/server/odoo-bin"
Traceback (most recent call last):
  File "C:/Program Files (x86)/Odoo 11.0/server/odoo-bin", line 5, in <module>
    import odoo
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\__init__.py", line 84, in <module>
    from . import modules
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\modules\__init__.py", line 8, in <module>
    from . import db, graph, loading, migration, module, registry
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\modules\graph.py", line 10, in <module>
    import odoo.tools as tools
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\__init__.py", line 7, in <module>
    from . import pdf
  File "C:\Program Files (x86)\Odoo 11.0\server\odoo\tools\pdf.py", line 4, in <module>
    from PyPDF2 import PdfFileWriter, PdfFileReader
ModuleNotFoundError: No module named 'PyPDF2'

Process finished with exit code 1

Avatar
Discard
Best Answer

hi,

The error message says that the package is missing. You have to install the python package PyPDF2. For installing it in windows, please refer this: How do I install pyPDF2 in windows


Thanks

Avatar
Discard