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

LDAP module Windows

Tilmeld

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

Dette spørgsmål er blevet anmeldt
ldap
1 Svar
9202 Visninger
Avatar
Merv

Greetings,


I am testing Odoo and tried enabling LDAP Authentication but received the error:  Unable to install module "auth_ldap" because an external dependency is not met: Python library not installed: ldap.


I'm using the Windows version. Can someone advise please how do I install the missing library please?


Thanks.

0
Avatar
Kassér
Waleed Ali Mohsen

Hi,
What version of python you are using?
You get it by open cmd and type python --version.

Is your system platform 64 bit or 32 bit?

Merv
Forfatter

Thanks Waleed. It's 64-bit Windows. The Odoo installation has a python folder with what I believe is python 3.7. I downloaded and installed 3.10 (only one officially available for download on the site) and installed python_ldap-3.4.0-cp310-cp310-win_amd64.whl given the instructions you provided in powershell. The install was successful but I am still getting the error message. Am I supposed to import it somewhere?

Waleed Ali Mohsen

You need to use the same version used by Odoo so you can run the command form the path of python folder of the Odoo installation.

Waleed Ali Mohsen

run the below after change the folders in path as yours:
cd "C:\Program Files (x86)\Odoo 13.0\python\Scripts"

then run

python.exe --version

you will get the version and you can download the whl file for the python version:

then from the same above path run

pip3.exe install --only-binary :all: WHL_FILE_PATH

Merv
Forfatter

Thanks Waleed. I removed the version 3.10, but the pip command was giving an error looking for path that didn't exist: "Fatal error in launcher: Unable to create process using '"c:\odoobuild\winpy64\python-3.7.7.amd64\python.exe"". I reinstalled the 3.7.7 as that was the version in the Odoo folder, and copied the installed pip files over to the Odoo folder. From there the pip install command you provided worked and I was able to genable it without error.

Thanks again!

Avatar
Waleed Ali Mohsen
Bedste svar

You can download the whl file for pyhon-ldap 3.4.0 (depend on your python version and system platform 32 or 64)  from following site  Python Extension Packages for Windows - Christoph Gohlke (uci.edu) and then from cmd run the below command:

pip install --only-binary :all: WHL_FILE_PATH

if your python version 3.8 and system 64 the downloaded file name will be python_ldap-3.4.0-cp38-cp38-win_amd64 and if you put it in c drive, you will run the command: 

pip install --only-binary :all: "C:\python_ldap-3.4.0-cp38-cp38-win_amd64.whl"


If you installed Odoo using exe, then you can run the commands from the python installed with Odoo and you can find it in the below path (If you installed Odoo 15 or you can change it as per your version):

C:\Program Files (x86)\Odoo 15.0\python\Scripts 

Commands:

cd "C:\Program Files (x86)\Odoo 15.0\python\Scripts"
python.exe --version
pip3.exe install --only-binary :all: WHL_FILE_PATH


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
ldap user connection
ldap
Avatar
0
jan. 21
3011
LDAP authentication failing when using TLS on Odoo 11
ldap
Avatar
0
nov. 17
5996
Does partner_address_ldap work with 7.0?
ldap
Avatar
0
mar. 15
4937
openerp 7 ldap windows
ldap
Avatar
0
mar. 15
4481
unable to map ldap_group with openerp group, how to ?
ldap
Avatar
0
mar. 15
5049
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