-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Issue description:
I'm trying to install python-ldap on Windows in a Conda environment, using the prebuilt wheels available at https://github.com/cgohlke/python-ldap-build?tab=readme-ov-file. pip
fails with the following error:
$ pip install /c/temp/python_ldap-3.4.4-cp311-cp311-win_amd64.whl
Processing c:\temp\python_ldap-3.4.4-cp311-cp311-win_amd64.whl
ERROR: Wheel 'python-ldap' located at C:\temp\python_ldap-3.4.4-cp311-cp311-win_amd64.whl is invalid.
I tried several version of Python (using the appropriate wheel) for version 3.4.3 and 3.4.4.
I also attempted to install the module with python install python-ldap
after installing the MSVC tools but it also fails saying lber.h
is not found.
For the record, I have been using successfully the pre-built version for a long time with Python 3.9, installed from the former location maintained by C. Gohlke (https://www.lfd.uci.edu/~gohlke/pythonlibs/#python-ldap).
Steps to reproduce:
- Create a Conda environment with the Python version you want:
conda -n testldap python=3.11
- Download the amd64 version matching the Python version
- pip install /path/to/downloaded/wheel
Operating system:
Windows 11
Python version:
Tested with 3.9 to 3.11
python-ldap version:
3.4.3 and 3.4.4