Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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

Installation of version V17.0 with error in Python

Suscribirse

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

Se marcó esta pregunta
v17python3.10
2 Respuestas
12763 Vistas
Avatar
Fernando Laguardia

Hi everyone, I installed version 17 but I'm having problems starting the service.

I already checked and I have Python 3.10 installed.


Feb 05 15:15:46 Odoo- systemd[1]: Started Odoo17.

Feb 05 15:15:46 Odoo- odoo-bin[1112]: Traceback (most recent call last):

Feb 05 15:15:46 Odoo- odoo-bin[1112]:   File "/opt/odoo17/odoo-bin", line 5, in

Feb 05 15:15:46 Odoo- odoo-bin[1112]:     import odoo

Feb 05 15:15:46 Odoo- odoo-bin[1112]:   File "/opt/odoo17/odoo/__init__.py", line 19, in

Feb 05 15:15:46 Odoo-a odoo-bin[1112]:     assert sys.version_info > (3, 10), "Outdated python version detected, Odoo requires Python >= 3.10 to run."

Feb 05 15:15:46 Odoo- odoo-bin[1112]: AssertionError: Outdated python version detected, Odoo requires Python >= 3.10 to run.

Feb 05 15:15:46 Odoo- systemd[1]: odoo17.service: Main process exited, code=exited, status=1/FAILURE

Feb 05 15:15:46 Odoo- systemd[1]: odoo17.service: Failed with result 'exit-code'.


@Odoo:~$ python3.10 --version

Python 3.10.13



0
Avatar
Descartar
Avatar
Fernando Laguardia
Autor Mejor respuesta

Thank you for the answer, I solve it with the commands below; 

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 2
sudo update-alternatives --config python3
But I had other problems when I tried to start Odoo 17, despite having already installed the packages.
● odoo17.service - Odoo17
     Loaded: loaded (/etc/systemd/system/odoo17.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-02-05 19:56:32 UTC; 2s ago
       Docs:
    Process: 21515 ExecStart=/opt/odoo17/odoo-bin -c /etc/odoo17.conf (code=exited, status=1/FAILURE)
   Main PID: 21515 (code=exited, status=1/FAILURE)

Feb 05 19:56:32 ODOO systemd[1]: Started Odoo17.
Feb 05 19:56:32 ODOO odoo-bin[21515]: Traceback (most recent call last):
Feb 05 19:56:32 ODOO odoo-bin[21515]:   File "/opt/odoo17/odoo-bin", line 5, in
Feb 05 19:56:32 ODOO odoo-bin[21515]:     import odoo
Feb 05 19:56:32 ODOO odoo-bin[21515]:   File "/opt/odoo17/odoo/__init__.py", line 75, in
Feb 05 19:56:32 ODOO odoo-bin[21515]:     import PyPDF2
Feb 05 19:56:32 ODOO odoo-bin[21515]: ModuleNotFoundError: No module named 'PyPDF2'
Feb 05 19:56:32 ODOO systemd[1]: odoo17.service: Main process exited, code=exited, status=1/FAILURE
Feb 05 19:56:32 ODOO systemd[1]: odoo17.service: Failed with result 'exit-code'



0
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hi,

The Issues likely from your Virtual Environment likely using Python 3.8 instead of Python3.10.Here's how to solve this:
1) Verify PyCharm's Python Interpreter:
Go to File > Settings > Project: [Your Project Name] > Project Interpreter.
Check the currently selected interpreter. If it's Python 3.8

2) Switch  Python Interpreter in PyCharm:Since you installed Python 3.10Click the gear icon next to the current interpreter.
Select "Add Interpreter...".
Choose "System Interpreter" and browse to the path of your Python 3.10 installation. Click "OK".

3)Restart PyCharm and Retry Odoo:Close and reopen PyCharm to ensure the new interpreter is loaded.

Hope this helps

-1
Avatar
Descartar
Kabir Khan

while installing odoo17 on aws server via putty
same issue faced in ubuntu server aws please look into it....

ubuntu@ip-172-26-11-98:/$ sudo systemctl status odoo17.service
● odoo17.service - Odoo17
Loaded: loaded (/etc/systemd/system/odoo17.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-04-15 16:32:25 IST; 12min ago
Docs: http://www.odoo.com
Process: 1214994 ExecStart=/opt/odoo17/odoo-bin -c /etc/odoo17.conf (code=exited, status=1/FAILURE)
Main PID: 1214994 (code=exited, status=1/FAILURE)

Apr 15 16:32:25 ip-172-26-11-98 systemd[1]: Started Odoo17.
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: Traceback (most recent call last):
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: File "/opt/odoo17/odoo-bin", line 5, in <module>
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: import odoo
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: File "/opt/odoo17/odoo/__init__.py", line 19, in <module>
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: assert sys.version_info > (3, 10), "Outdated python version detected, Odoo requires Python >= 3.10 to run."
Apr 15 16:32:25 ip-172-26-11-98 odoo-bin[1214994]: AssertionError: Outdated python version detected, Odoo requires Python >= 3.10 to run.
Apr 15 16:32:25 ip-172-26-11-98 systemd[1]: odoo17.service: Main process exited, code=exited, status=1/FAILURE
Apr 15 16:32:25 ip-172-26-11-98 systemd[1]: odoo17.service: Failed with result 'exit-code'.
ubuntu@ip-172-26-11-98:/$

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

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
Installation on aws of version odoo V17.0 with error in Python
installation v17 python3.10
Avatar
Avatar
1
abr 24
8296
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
oct 25
1285
How to add a new Many2one field in res.config.settings? Resuelto
v17
Avatar
Avatar
Avatar
Avatar
4
oct 25
3673
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sept 25
2331
How to disable Email notification - You have been assigned to Resuelto
v17
Avatar
Avatar
Avatar
Avatar
4
sept 25
7730
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar 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