owtf: OWTF develop branch install error in Kali Linux 2.0
Hi,
I’m using Kali Linux 2.0 x86_64
I tried to install OWTF develop branch using official install script:
wget https://raw.githubusercontent.com/owtf/bootstrap-script/master/bootstrap.sh
bash bootstrap.sh
and meet next errors:
Found existing installation: cryptography 0.9.3
Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, owned by OS
Running setup.py install for cryptography
Installed /tmp/pip-build-ARN7u7/cryptography/cffi-1.2.1-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-ARN7u7/cryptography/setup.py", line 307, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
ImportError: No module named setuptools_ext
Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-ARN7u7/cryptography/setup.py';exec(compile(g
etattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8OnFdz-record/install-record.txt
--single-version-externally-managed --compile:
Installed /tmp/pip-build-ARN7u7/cryptography/cffi-1.2.1-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-ARN7u7/cryptography/setup.py", line 307, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['__name__'])
ImportError: No module named setuptools_ext
----------------------------------------
Can't roll back cryptography; was not uninstalled
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-ARN7u7/cryptography/setup.py';exec(compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-8OnFdz-record/install-record.txt --single-version-external
ly-managed --compile failed with error code 1 in /tmp/pip-build-ARN7u7/cryptography
Traceback (most recent call last):
File "/usr/bin/pip2", line 9, in <module>
load_entry_point('pip==1.5.6', 'console_scripts', 'pip2')()
File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 248, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 62: ordinal not in range(128)
[*] Finished
#? 1) OWTF 1.0.1 Lionheart 3) OWTF develop branch
2) OWTF master branch 4) Quit
#?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 56 (24 by maintainers)
Commits related to this issue
- fix for #516 — committed to DoomTaper/owtf by deleted user 9 years ago
- edited fix for #516 — committed to DoomTaper/owtf by invalid-email-address 9 years ago
- edited fix for #516 — committed to DoomTaper/owtf by deleted user 9 years ago
@hktalent Your Kali is not updated. This is not a problem with OWTF. Please refer to https://github.com/owtf/owtf/issues/812
@FreedomShepherd @darelswag @h121h Until the complete install script is ready with the virtualenv stuff (so that I can fix this on Kali Linux), you can follow these steps to install and run OWTF successfully. You need to have
pipinstalled.You will see something like this:
(owtf)~/owtf/install %This says a virtualenv named “owtf” is active. You can now run the install script. You can deactivate the env by running:deactivateBut whenever you want to run OWTF, just
cdinto the directory and run:workon <env>Like for the example above,workon owtf.This should do as a temporary solution. 😃