跳至內容
選單
此問題已被標幟
9 回覆
17877 瀏覽次數

Hi all;
I have installed latest odoo 11 and all its python dependencies including "python_ldap" but still cannot setup "authentication via ldap" module.
it gives an error:



頭像
捨棄

have you tried "sudo apt-get install python-ldap". The "python_ldap" and "python-ldap" is different. Try pip freeze and check python-ldap is installed or not.

作者

Yes I have installed these package and still not working

Have you restarted your service? Have you restarted your server too? Sometimes the dependency isn't recognized right away.

作者

Yes I have restarted the server several times but nothing changed

最佳答案

https://github.com/odoo/odoo/issues/20077

$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
頭像
捨棄
最佳答案

I'm having the same problem 

頭像
捨棄
最佳答案

Do you have enabled Developper mode ?

頭像
捨棄
作者 最佳答案

yes enabled 

頭像
捨棄
最佳答案
Try

$ sudo apt-get install -y --no-install-recommends python3-dev gcc libldap2-dev libssl-dev libsasl2-dev
$ sudo pip3 install pyldap
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 20
4759
5
8月 19
28975
1
11月 18
6394
2
3月 17
4048
3
12月 23
27490