Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

PyPdf2 module not found

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
installationodoov11
9 Respostas
119519 Visualizações
Avatar
Karan Gupta

I had install the requirements that are there in the requirements script but than also its showing that the PyPdf2 is missing.

I had also install it manually but again the same issue.

Had tried

pip install python-Pypdf2

sudo apt-get install pypdf2

Easy_install pypdf2

But all installed properly,but the message appears again

This is only happening while adding new odoo 11 version

For the 9 version nothing any issue


0
Avatar
Cancelar
Rishan Malaka

Hi,

Try This. Your one not working with python 3.

sudo apt install python3-pip

pip3 install -U pip

sudo pip3 install pypdf2

TheBrush

If you use a python venv (as I think):

The problem is a session that is bad terminated, ODOO restart the service but not use VENV context so python3 doesn't find correct dependencies

See the correct mode to launch if venv is used:

https://github.com/odoo/odoo/issues/33479#issuecomment-1207347677

Avatar
Niyas Raphy (Walnut Software Solutions)
Melhor resposta

Hi,

While installing using pip , the package get installed in python2.  Try the same using pip3 .

pip3 install Pypdf2

Thanks

3
Avatar
Cancelar
Juan M Solórzano I

Hi...!

I install the module and all was successful I haven't error, but when I run the environment I get the same error.

/home/jmsolorzano78/PycharmProjects/demo/venv/bin/python /opt/odoo13/odoo/odoo-bin --conf /home/jmsolorzano78/PycharmProjects/demo/odoo.conf

Traceback (most recent call last):

File "/opt/odoo13/odoo/odoo-bin", line 5, in <module>

import odoo

File "/opt/odoo13/odoo/odoo/__init__.py", line 75, in <module>

import PyPDF2

ModuleNotFoundError: No module named 'PyPDF2'

Pls Can you have another information or process to do?

zarchithu470@gmail.com

Hi I already installed Pypdf2, but still show "ModuleNotFoundError: No module named 'PyPDF2'". How to do that bro ?

Avatar
Rishan Malaka
Melhor resposta

Hi,

Try This. Your one not working with python 3.

sudo apt install python3-pip

pip3 install -U pip

sudo pip3 install pypdf2

1
Avatar
Cancelar
Avatar
TheBrush
Melhor resposta

If you use a python venv (as I think):

The problem is a session that is bad terminated, ODOO restart the service but not use VENV context so python3 doesn't find correct dependencies

See the correct mode to launch if venv is used:

https://github.com/odoo/odoo/issues/33479#issuecomment-1207347677

0
Avatar
Cancelar
Avatar
linc
Melhor resposta

Same error here. the server can launch successful, but failed after couple of hours, and show following erorr:

Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: Traceback (most recent call last):
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: File "/home/odoo/odoo-15/odoo-bin", line 5, in
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: import odoo
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: File "/home/odoo/odoo-15/odoo/__init__.py", line 75, in
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: import PyPDF2
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z odoo-15[3189]: ModuleNotFoundError: No module named 'PyPDF2'
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z systemd[1]: odoo-15.service: Main process exited, code=exited, status=1/FAILURE
Mar 14 22:51:28 iZbp1feheb80mwpd2778a7Z systemd[1]: odoo-15.service: Failed with result 'exit-code'.


How should I do?

0
Avatar
Cancelar
Avatar
NHAT MINH ENGINEERING AND BUSINESS SOLUTIONS CO.,LTD)
Melhor resposta

if you are using pycharm, that may cause from Python Interpreter Environment .

FILE |Settings| Project xxx |Python Interpreter installation path or  choose Setting => Add : Python System interpreter that will include almost module necessary to run Odoo


Good luck

0
Avatar
Cancelar
Avatar
Ali mughal
Melhor resposta

Go to environment step and run this command apt-get install python3-pypdf2 
Remember console will tell you to other dependency jinja2 and then just add the name of the package, for instance, apt-get install python3-psutil

0
Avatar
Cancelar
Avatar
Jason
Melhor resposta

tried, I still get the same error of "ModuleNotFoundError: No module named 'PyPDF2'".

0
Avatar
Cancelar
Avatar
Khaled Hamed
Melhor resposta

Another workaround is to do the following:

apt-get install python-pypdf2

dpkg --ignore-depends=python-pypdf -i odoo_*

0
Avatar
Cancelar
Avatar
Karan Gupta
Autor Melhor resposta

Again the Same Issue:

odoo@ebslubuntu2:/opt/11$ ./odoo-bin --xmlrpc-port=9000

Traceback (most recent call last):

File "./odoo-bin", line 5, in <module>

import odoo

File "/opt/11/odoo/__init__.py", line 84, in <module>

from . import modules

File "/opt/11/odoo/modules/__init__.py", line 8, in <module>

from . import db, graph, loading, migration, module, registry

File "/opt/11/odoo/modules/graph.py", line 10, in <module>

import odoo.tools as tools

File "/opt/11/odoo/tools/__init__.py", line 7, in <module>

from . import pdf

File "/opt/11/odoo/tools/pdf.py", line 4, in <module>

from PyPDF2 import PdfFileWriter, PdfFileReader

ImportError: No module named 'PyPDF2'

0
Avatar
Cancelar
Rishan Malaka

check your PyPDF version and remove all files using bellow command.

sudo apt-get purge python-pypdf

the try bellow command again

sudo apt install python3-pip

pip3 install -U pip

sudo pip3 install pypdf2

sibi0229

Despite the above error is occurring again. like this "ImportError: No module named 'PyPDF2'" Odoo --v 11 , i'm using macOS 10.13.4 .

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Installation module account_payment_partner, Error "cannot be located in parent view
installation modules odoov11
Avatar
Avatar
2
jun. 20
4035
Install Odoo Comunity 18 without 15 days free trial version Resolvido
installation
Avatar
Avatar
3
jul. 25
4265
Setting up a new odoo 18 server and am unable to install gevent==21.8.0
installation
Avatar
Avatar
Avatar
Avatar
3
jun. 25
6866
How to install Odoo 18 from Tar Source
installation
Avatar
Avatar
Avatar
Avatar
Avatar
5
mai. 25
7490
Installation tutorial for Odoo 17
installation
Avatar
Avatar
Avatar
2
mai. 25
3395
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now