Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
5398 Lượt xem

When I tick the check box to enable LDAP authentication from general settings, am getting the error msg as mentioned below.

"Unable to install module "auth_ldap" because an external dependency is not met: Python library not installed: LDAP"

Thanks.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

It is due to missing python package, install ldpa python package using below command:

pip install python-ldap


Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

I ran that command. It started the installation process but soon after that I got this erroe msg:

Failed building wheel for python-ldap
Running setup.py clean for python-ldap
Failed to build python-ldap
Could not build wheels for python-ldap which use PEP 517 and cannot be installed directly

Câu trả lời hay nhất

If you do have Ubuntu you can install : apt install python3-ldappool 

This will install python3-ldap for you. I hope that helps.

Ảnh đại diện
Huỷ bỏ

thank you