Forums

Failed building wheel when pip install

i try to pip3.5 install --user pyldap and have this error:

In file included from Modules/LDAPObject.c:9:0: Modules/errors.h:8:18: fatal error: lber.h: No such file or directory #include "lber.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Command "/usr/local/bin/python3.5 -u -c "import setuptools, tokenize;file='/tmp/pip-build-1vvfpwk_/pyldap/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close() ;exec(compile(code, file, 'exec'))" install --record /tmp/pip-73a5c0o_-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-1 vvfpwk_/pyldap/

and

In file included from Modules/LDAPObject.c:9:0: Modules/errors.h:8:18: fatal error: lber.h: No such file or directory #include "lber.h" ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Failed building wheel for pyldap Running setup.py clean for pyldap

Hi- it's because pyldap depends on the libldap2-dev package.

Unfortunately we do not have that installed right now (and these would require admin privileges to install). We will look into adding that to our system image.

Hello. Thank you. When can i expect system image update?

I'm afraid we're not planning one for the immediate future.