Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Installation of version V17.0 with error in Python

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
v17python3.10
2 Besvarelser
12754 Visninger
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
Kassér
Avatar
Fernando Laguardia
Forfatter Bedste svar

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
Kassér
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

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
Kassér
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:/$

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
Installation on aws of version odoo V17.0 with error in Python
installation v17 python3.10
Avatar
Avatar
1
apr. 24
8292
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
okt. 25
1280
How to add a new Many2one field in res.config.settings? Løst
v17
Avatar
Avatar
Avatar
Avatar
4
okt. 25
3671
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sep. 25
2324
How to disable Email notification - You have been assigned to Løst
v17
Avatar
Avatar
Avatar
Avatar
4
sep. 25
7726
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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