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

Error Report: Odoo 17 Installation Issue

Tilmeld

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

Dette spørgsmål er blevet anmeldt
pythonpostgresqlodoo17
2 Besvarelser
2745 Visninger
Avatar
Abdulrhman Atassi

I’m encountering an issue while trying to run Odoo 17 with Python 3.12. The error occurs when executing the odoo-bin command with the configuration file odoo.conf. The traceback indicates a problem with loading a shared library required by psycopg2.

/Users/abdulrhman/PycharmProjects/odoo17/pythonProject/.venv/bin/python /Users/abdulrhman/PycharmProjects/odoo17/pythonProject/odoo17/odoo-bin -C odoo.conf 
Traceback (most recent call last):
  File "/Users/abdulrhman/PycharmProjects/odoo17/pythonProject/odoo17/odoo-bin", line 5, in
    import odoo
  File "/Users/abdulrhman/PycharmProjects/odoo17/pythonProject/odoo17/odoo/_psycopg.cpython-312-darwin.so
  Reason: no LC_RPATH's found

Process finished with exit code 1

Context:

  • Python Version: 3.12
  • Odoo Version: 17
  • Operating System: macOS (Darwin)
  • Environment: Virtual environment created with Python 3.12
0
Avatar
Kassér
Avatar
Kunjan Patel
Bedste svar
Hello Abdulrhman Atassi,
I hope you are doing well

Fix psycopg2 Error (Odoo 17 + macOS)

1. Quick fix: pip uninstall psycopg2 && pip install psycopg2-binary
2. link PostgreSQL: brew install postgresql@15 then add 
export DYLD_LIBRARY_PATH="/opt/homebrew/opt/postgresql@15/lib" to ~/.zshrc
3. Best solution: Use Python 3.11 instead of 3.12 - Odoo 17 has compatibility issues with Python 3.12
4. Create new venv: python3.11 -m venv .venv && source .venv/bin/activate
5. Reinstall dependencies: pip install -r requirements.txt
6. Then run Odoo: python odoo-bin -c odoo.conf

I hope this information helps you

Thanks & Regards,
Kunjan Patel
0
Avatar
Kassér
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Bedste svar

Hi,


Odoo 17 is not compatible with Python 3.12, it officially supports only Python 3.10 and 3.11, so installing it in a 3.12 virtualenv causes binary extensions to fail.

This is not an Odoo bug - it is a Python version mismatch between Odoo’s dependencies and the Python interpreter you are using.

To fix it, reinstall your environment using Python 3.10 or 3.11, create a new virtual environment, and reinstall all Odoo requirements.

After switching to a supported Python version, psycopg2 loads normally and Odoo 17 starts without errors.

Trying to force psycopg3 or compile psycopg2 manually on Python 3.12 is unstable and not recommended - using the correct Python version is the proper solution.


Hope it helps.

0
Avatar
Kassér
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
modulo no crea tabla en postgresql odoo 17
python postgresql
Avatar
Avatar
Avatar
2
maj 24
2372
Error On Change Method
python postgresql
Avatar
Avatar
Avatar
2
mar. 15
6774
Log out session Odoo 17
community python odoo17
Avatar
Avatar
Avatar
2
jun. 25
3498
i want write a script that when i select table name the related column name of the table is show in the drop down in odoo Løst
python postgresql odoo16features
Avatar
Avatar
1
mar. 23
3161
Trying to get manufacturer,(partner name) getting TypeError: string indices must be integers
v8 python postgresql
Avatar
0
mar. 15
6101
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