Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Installation of version V17.0 with error in Python

Odoberať

Get notified when there's activity on this post

This question has been flagged
v17python3.10
2 Replies
12769 Zobrazenia
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
Zrušiť
Avatar
Fernando Laguardia
Autor Best Answer

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
Zrušiť
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

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
Zrušiť
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!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Installation on aws of version odoo V17.0 with error in Python
installation v17 python3.10
Avatar
Avatar
1
apr 24
8300
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
okt 25
1288
How to add a new Many2one field in res.config.settings? Solved
v17
Avatar
Avatar
Avatar
Avatar
4
okt 25
3682
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
sep 25
2341
How to disable Email notification - You have been assigned to Solved
v17
Avatar
Avatar
Avatar
Avatar
4
sep 25
7736
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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