andresriancho / w3af

w3af: web application attack and audit framework, the open source web vulnerability scanner.
http://w3af.org/
4.52k stars 1.21k forks source link

Erron on Kali installation"Running setup.py install for lxml ... error" #18160

Open horasanli opened 4 years ago

horasanli commented 4 years ago

Here are the answers of 4 questions

  1. cat /etc/os-release PRETTY_NAME="Kali GNU/Linux Rolling" NAME="Kali GNU/Linux" ID=kali VERSION="2019.3" VERSION_ID="2019.3" VERSION_CODENAME="kali-rolling" ID_LIKE=debian ANSI_COLOR="1;31" HOME_URL="https://www.kali.org/" SUPPORT_URL="https://forums.kali.org/" BUG_REPORT_URL="https://bugs.kali.org/"

  2. cat /tmp/w3af_dependency_install.sh

    !/bin/bash

    sudo apt-get -y install python-webkit

sudo pip install lxml==3.4.4 scapy==2.4.0 guess-language==0.2 cluster==1.1.1b3 python-ntlm==1.0.1 halberd==0.2.4 darts.util.lru==0.5 Jinja2==2.10 vulndb==0.1.1 markdown==2.6.1 psutil==5.4.8 ds-store==1.1.2 termcolor==1.1.0 mitmproxy==0.13 ruamel.ordereddict==0.4.8 Flask==0.10.1 PyYAML==3.12 tldextract==1.7.2 pebble==4.3.8 acora==2.1 esmre==0.3.1 diff-match-patch==20121119 bravado-core==5.12.1 vulners==1.3.0 ipaddresses==0.0.2 subprocess32==3.5.4 xdot==0.6

  1. pip freeze DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support adns-python==1.2.1 alembic==1.0.11.dev0 asn1crypto==0.24.0 attrs==18.2.0 autobahn==17.10.1 Automat==0.6.0 Babel==2.6.0 backports-abc==0.5 backports.functools-lru-cache==1.5 bcrypt==3.1.6 beautifulsoup4==4.8.0 blinker==1.4 bottle==0.12.15 cbor==1.0.0 certifi==2018.8.24 Chameleon==2.24 chardet==3.0.4 CherryTree==0.38.8 Click==7.0 colorama==0.3.7 configparser==3.5.0b2 constantly==15.1.0 cryptography==2.6.1 cssselect==1.1.0 Cython==0.29.2 deprecation==2.0.6 Django==1.11.23 dnslib==0.9.7 dnspython==1.16.0 easygui==0.96 EditorConfig==0.12.1 Elixir==0.7.1 entrypoints==0.3 enum34==1.1.6 faradaysec==3.8.0 filedepot==0.5.2 filteralchemy==0.1.0 Flask==1.0.2 Flask-BabelEx==0.9.3 Flask-Classful==0.14.1 Flask-Login==0.4.1 Flask-Mail==0.9.1 Flask-Principal==0.4.0 Flask-Restless==0.17.0 Flask-Security==3.0.0 Flask-Session==0.3.1 Flask-SQLAlchemy==2.4.0 Flask-WTF==0.14.2 FormEncode==1.3.0 fuse-python==1.0.0 future==0.16.0 futures==3.2.0 gitdb2==2.0.6 GitPython==2.1.3 gpg==1.12.0 gyp==0.1 html5lib==1.0.1 hupper==1.5 hyperlink==17.3.1 idna==2.6 impacket==0.9.19 incremental==16.10.1 ipaddress==1.0.17 IPy==0.83 itsdangerous==0.24 Jinja2==2.10.1 jsbeautifier==1.6.4 jsonpickle==0.9.5 keyring==18.0.1 keyrings.alt==3.1.1 ldap3==2.5.1 ldapdomaindump==0.9.1 lxml==4.3.3 lz4==1.1.0 M2Crypto==0.31.0 Mako==1.0.7 MarkupSafe==1.1.0 marshmallow==3.0.0b3 marshmallow-sqlalchemy==0.14.1 mechanize==0.2.5 metaconfig==0.1.4a1 mimerender==0.6.0 msgpack==0.5.6 mysqlclient==1.3.10 ndg-httpsclient==0.4.0 netaddr==0.7.19 NfSpy==1.0 nltk==3.0.1 nplusone==1.0.0 numpy==1.16.2 olefile==0.46 packaging==19.0 paramiko==2.6.0 passlib==1.7.1 Paste==3.1.0 PasteDeploy==2.0.1 PasteScript==2.0.2 pdfminer==20140328 peepdf==0.4.2 pefile==2019.4.18 pexpect==4.6.0 phply==0.9.1 Pillow==6.1.0 plaster==1.0 plaster-pastedeploy==0.5 ply==3.11 prettytable==0.7.2 psycopg2==2.7.7 py-ubjson==0.14.0 pyasn1==0.4.2 pyasn1-modules==0.2.1 pybloomfiltermmap==0.3.14 pycairo==1.16.2 pyClamd==0.4.0 pycrypto==2.6.1 pycryptodomex==3.6.1 pydns==2.3.6 pydot==1.4.1 pyenchant==2.0.0 PyGithub==1.21.0 PyGObject==3.32.2 pyinotify==0.9.6 pylibemu==0.3.3 pymssql==2.1.4 PyNaCl==1.3.0 pyOpenSSL==18.0.0 pyparsing==2.2.0 pypng==0.0.20 PyQRCode==1.2.1 pyquery==1.2.9 pyramid==1.10.2 PySocks==1.6.8 pysqlite==2.7.0 python-dateutil==2.7.3 python-editor==1.0.3 python-Levenshtein==0.12.0 python-magic==0.4.16 python-mimeparse==1.6.0 python-openid==2.2.5 python-slugify==3.0.2 python-snappy==0.5.3 pythonaes==1.0 PyTrie==0.2 pytz==2019.2 PyV8==1.0.dev0 pyxdg==0.25 PyYAML==3.13 qrcode==6.1 repoze.lru==0.7 requests==2.21.0 scapy==2.4.2 scgi==1.13 SecretStorage==2.3.1 selenium==3.14.1 service-identity==18.1.0 simplejson==3.16.0 singledispatch==3.4.0.3 sip==4.19.18 six==1.12.0 smmap2==2.0.5 soupsieve==1.9.2 speaklater==1.3 SQLAlchemy==1.3.1 sqlalchemy-schemadisplay==1.3 sqlparse==0.2.4 tblib==0.2.0 Tempita==0.5.2 tornado==5.1.1 tqdm==4.28.1 translationstring==1.3 trollius==2.0.1 Twisted==18.9.0 txaio==2.10.0 typing==3.6.6 u-msgpack-python==2.1 Unidecode==1.1.1 urllib3==1.24.1 venusian==1.2.0 waitress==1.2.0b2 webargs==5.1.2 webencodings==0.5.1 WebOb==1.8.5 websocket-client==0.53.0 WebTest==2.0.32 Werkzeug==0.14.1 wifite==2.2.5 wsaccel==0.6.2 WTForms==2.2.1 zenmap==7.80 zope.component==4.3.0 zope.deprecation==4.4.0 zope.event==4.2.0 zope.hookable==4.0.4 zope.interface==4.3.2

python --version Python 2.7.16+

tg12 commented 4 years ago

I think I have fixed this with my install script.

https://github.com/tg12/w3af/blob/master/install_pip_dep.sh