EmpireProject / Empire

Empire is a PowerShell and Python post-exploitation agent.
http://www.powershellempire.com/
BSD 3-Clause "New" or "Revised" License
7.36k stars 2.8k forks source link

Installation fails on Kali #1371

Open sc0ttex opened 4 years ago

sc0ttex commented 4 years ago

Empire Version

2.5

OS Information (Linux flavor, Python version)

Kali Linux, Python 2.7.16

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

Tried to install Empire cloning from git and running ./install.sh from setup folder.

Screenshot of error, embedded text output, or Pastebin link to the error

ERROR: Command errored out with exit status 1: command: /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x_2a9P/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel cwd: None Complete output (12 lines): Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/pip/main.py", line 16, in from pip._internal import main as _main # isort:skip # noqa File "/usr/local/lib/python2.7/dist-packages/pip/_internal/init.py", line 19, in from pip._vendor.urllib3.exceptions import DependencyWarning File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/urllib3/init.py", line 25, in from logging import NullHandler ImportError: cannot import name NullHandler

ERROR: Command errored out with exit status 1: /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-x_2a9P/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

I tried to downgrade setuptools with version 38.4.0 (in another machine, with ubuntu and that version of setuptools, it works fine) but the error is the same.