Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

LDAP module Windows

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
ldap
1 Répondre
9145 Vues
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
Ignorer
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
Auteur

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
Auteur

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
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
ldap user connection
ldap
Avatar
0
janv. 21
2974
LDAP authentication failing when using TLS on Odoo 11
ldap
Avatar
0
nov. 17
5958
Does partner_address_ldap work with 7.0?
ldap
Avatar
0
mars 15
4897
openerp 7 ldap windows
ldap
Avatar
0
mars 15
4437
unable to map ldap_group with openerp group, how to ?
ldap
Avatar
0
mars 15
5010
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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