Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

w3af install issuez on mac #17547

Open
ramihub opened this issue Jan 15, 2019 · 3 comments
Open

w3af install issuez on mac #17547

ramihub opened this issue Jan 15, 2019 · 3 comments

Comments

@ramihub
Copy link

ramihub commented Jan 15, 2019

mpetrea-mac:w3af marius.petrea$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.2
BuildVersion: 18C54

mpetrea-mac:w3af marius.petrea$ python --version
Python 2.7.15

mpetrea-mac:w3af marius.petrea$ pip freeze
altgraph==0.10.2
backports.functools-lru-cache==1.5
bdist-mpkg==0.5.0
bonjour-py==0.3
certifi==2018.11.29
chardet==3.0.4
cycler==0.10.0
dnspython==1.16.0
gitdb2==2.0.5
GitPython==2.1.3
idna==2.8
kiwisolver==1.0.1
macholib==1.5.1
matplotlib==2.2.3
modulegraph==0.10.4
nose==1.3.7
numpy==1.16.0
py2app==0.7.3
pyClamd==0.4.0
PyGithub==1.21.0
pyobjc-core==2.5.1
pyobjc-framework-Accounts==2.5.1
pyobjc-framework-AddressBook==2.5.1
pyobjc-framework-AppleScriptKit==2.5.1
pyobjc-framework-AppleScriptObjC==2.5.1
pyobjc-framework-Automator==2.5.1
pyobjc-framework-CFNetwork==2.5.1
pyobjc-framework-Cocoa==2.5.1
pyobjc-framework-Collaboration==2.5.1
pyobjc-framework-CoreData==2.5.1
pyobjc-framework-CoreLocation==2.5.1
pyobjc-framework-CoreText==2.5.1
pyobjc-framework-DictionaryServices==2.5.1
pyobjc-framework-EventKit==2.5.1
pyobjc-framework-ExceptionHandling==2.5.1
pyobjc-framework-FSEvents==2.5.1
pyobjc-framework-InputMethodKit==2.5.1
pyobjc-framework-InstallerPlugins==2.5.1
pyobjc-framework-InstantMessage==2.5.1
pyobjc-framework-LatentSemanticMapping==2.5.1
pyobjc-framework-LaunchServices==2.5.1
pyobjc-framework-Message==2.5.1
pyobjc-framework-OpenDirectory==2.5.1
pyobjc-framework-PreferencePanes==2.5.1
pyobjc-framework-PubSub==2.5.1
pyobjc-framework-QTKit==2.5.1
pyobjc-framework-Quartz==2.5.1
pyobjc-framework-ScreenSaver==2.5.1
pyobjc-framework-ScriptingBridge==2.5.1
pyobjc-framework-SearchKit==2.5.1
pyobjc-framework-ServiceManagement==2.5.1
pyobjc-framework-Social==2.5.1
pyobjc-framework-SyncServices==2.5.1
pyobjc-framework-SystemConfiguration==2.5.1
pyobjc-framework-WebKit==2.5.1
pyOpenSSL==0.13.1
pyparsing==2.3.1
python-dateutil==2.7.5
pytz==2018.9
requests==2.21.0
scipy==0.13.0b1
six==1.12.0
smmap2==2.0.5
subprocess32==3.5.3
tornado==6.0a1
urllib3==1.24.1
xattr==0.6.4

_mpetrea-mac:w3af marius.petrea$ cat /var/folders/vj/7b2mt9qn29x3975x4g_l6y_h0000gp/T/w3af_dependency_install.sh
#!/bin/bash

sudo pip install pyClamd==0.4.0 PyGithub==1.21.0 GitPython==2.1.3 pybloomfiltermmap==0.3.14 phply==0.9.1 nltk==3.0.1 chardet==3.0.4 tblib==0.2.0 pdfminer==20140328 futures==3.2.0 pyOpenSSL==18.0.0 ndg-httpsclient==0.4.0 pyasn1==0.4.2 lxml==3.4.4 scapy==2.4.0 guess-language==0.2 cluster==1.1.1b3 msgpack==0.5.6 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.0.2 lz4==1.1.0 vulners==1.3.0 ipaddresses==0.0.2_

@andresriancho
Copy link
Owner

And what is the issue?

@kfnx
Copy link

kfnx commented Nov 2, 2019

mine similar,

Admin:w3af admin$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G87
Admin:w3af admin$ python --version
Python 2.7.10
Admin:w3af admin$ pip --version
pip 19.3.1 from /Users/admin/Library/Python/2.7/lib/python/site-packages/pip (python 2.7)

i follow the recommendation when i ran w3af_console, to install some dependency then i got an error when installing nltk:

Admin:w3af admin$ pip install nltk
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
Collecting nltk
  Using cached https://files.pythonhosted.org/packages/f6/1d/d925cfb4f324ede997f6d47bea4d9babba51b49e87a767c170b77005889d/nltk-3.4.5.zip
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/ss/tllcz4b95vl4nl2zpzyjr19w0000gp/T/pip-install-iFtXmb/nltk/setup.py'"'"'; __file__='"'"'/private/var/folders/ss/tllcz4b95vl4nl2zpzyjr19w0000gp/T/pip-install-iFtXmb/nltk/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/ss/tllcz4b95vl4nl2zpzyjr19w0000gp/T/pip-install-iFtXmb/nltk/pip-egg-info
         cwd: /private/var/folders/ss/tllcz4b95vl4nl2zpzyjr19w0000gp/T/pip-install-iFtXmb/nltk/
    Complete output (1 lines):
    error in nltk setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in singledispatch; python_version < "3.4" at ; python_version < "3.4"
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

sorry im lack of knowledge in python but im interested in w3af 😃

@kfnx
Copy link

kfnx commented Nov 3, 2019

nltk drop support for python 2.7

nltk/nltk#2296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants