ERROR: Command errored out with exit status 1: command: /usr/bin/python2 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-Hhwh9G/install/setup.py’"’"’; file=’"’"’/tmp/pip-install-Hhwh9G/install/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 /tmp/pip-pip-egg-info-IEors9 cwd: /tmp/pip-install-Hhwh9G/install/ Complete output (6 lines): usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …] or: setup.py --help [cmd1 cmd2 …] or: setup.py --help-commands or: setup.py cmd --help error: invalid command ‘egg_info’ ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 说明python的 setup.py文件有问题了,执行一下这个命令就可以了 pip install --upgrade pwntools
|