Skip to content

Installation failed while building python-ldap #16

@youda313

Description

@youda313

Morning,

I tried to install this tool on Kali but while installing the dependencies I got an error regardless if I try with python 2 or 3.
I also tried to install via apt the python-ldap which is not in kali repos. See the error below

pip2 install -r requirements.txt

Collecting python-ldap>=3.2.0 [199/1878]
Using cached python-ldap-3.3.1.tar.gz (379 kB)
Building wheels for collected packages: python-ldap
Building wheel for python-ldap (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/
pip-install-ClP_1X/python-ldap/setup.py'"'"'; file='"'"'/tmp/pip-install-ClP_1X/python-ld
ap/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"
'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wh
eel -d /tmp/pip-wheel-FKn3H6
cwd: /tmp/pip-install-ClP_1X/python-ldap/
Complete output (82 lines):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions