Skip to content

Unable to install on Windows 10: fatal error C1083: Cannot open include file: 'lber.h' #243

@Aminot1

Description

@Aminot1

Unable to install on Windows 10, I tried

Issue description:
Whenever I run: pip install python-ldap
I get the following:

c:\users\user\appdata\local\temp\pip-install-652a07b0\python-ldap\modules\constants.h(7): fatal error C1083: Cannot open include file: 'lber.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\cl.exe' failed with exit status 2

----------------------------------------

Command ""c:\program files (x86)\python36-32\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\user\AppData\Local\Temp\pip-install-652a07b0\python-ldap\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\user\AppData\Local\Temp\pip-record-09ceypm_\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-652a07b0\python-ldap\

pyldap-3.0.0-py2.py3-none-any.whl is not a supported wheel on this platform.

Steps to reproduce:
pip install python-ldap

Operating system: Windows 10, version 1803, OS Build 171134.285
Python version: Python 3.6.5

python-ldap version: None

Any ideas how to proceed ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions