Search code examples
xmlpython-2.7serverodoo

Getting Error(ImportError: No module named 'PyPDF2') in odoo-11 when starting the server


I have set up the version 11 of odoo and when I started my server it's getting errors like:

ImportError: No module named 'PyPDF2'

For that I have already installed the packages but it still generates the error. And I'm working on python-2.7.


Solution

  • If someone has this error:

    ImportError: No module named 'PyPDF2'
    

    I have got this error and I have found this solution. There is no need to do extra. You just have to write this command for whatever error generate to set a version 11 environment.

    Try this command:

    sudo apt-get install python3-pypdf2.