windapsearch
windapsearch copied to clipboard
Installation failed while building python-ldap
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):
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):
Enter this command first sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev and then pip install python-ldap