Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Installation of version V17.0 with error in Python

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
v17python3.10
2 Risposte
12814 Visualizzazioni
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
Abbandona
Avatar
Fernando Laguardia
Autore Risposta migliore

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
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore

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
Abbandona
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:/$

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Installation on aws of version odoo V17.0 with error in Python
installation v17 python3.10
Avatar
Avatar
1
apr 24
8335
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
ott 25
1310
How to add a new Many2one field in res.config.settings? Risolto
v17
Avatar
Avatar
Avatar
Avatar
4
ott 25
3700
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
set 25
2372
How to disable Email notification - You have been assigned to Risolto
v17
Avatar
Avatar
Avatar
Avatar
4
set 25
7767
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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