Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Conocimientos
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

PyPdf2 module not found

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
installationodoov11
9 Respuestas
119517 Vistas
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
Descartar
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)
Mejor respuesta

Hi,

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

pip3 install Pypdf2

Thanks

3
Avatar
Descartar
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
Mejor respuesta

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
Descartar
Avatar
TheBrush
Mejor respuesta

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
Descartar
Avatar
linc
Mejor respuesta

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
Descartar
Avatar
NHAT MINH ENGINEERING AND BUSINESS SOLUTIONS CO.,LTD)
Mejor respuesta

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
Descartar
Avatar
Ali mughal
Mejor respuesta

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
Descartar
Avatar
Jason
Mejor respuesta

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

0
Avatar
Descartar
Avatar
Khaled Hamed
Mejor respuesta

Another workaround is to do the following:

apt-get install python-pypdf2

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

0
Avatar
Descartar
Avatar
Karan Gupta
Autor Mejor respuesta

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
Descartar
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 .

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Installation module account_payment_partner, Error "cannot be located in parent view
installation modules odoov11
Avatar
Avatar
2
jun 20
4034
Install Odoo Comunity 18 without 15 days free trial version Resuelto
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
may 25
7490
Installation tutorial for Odoo 17
installation
Avatar
Avatar
Avatar
2
may 25
3393
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

Website made with

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