-
Notifications
You must be signed in to change notification settings - Fork 397
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
termcolor issue in pip #24
Comments
ShadowHacker hello try cd /usr/lib/python2.7/ |
I did as stated above, but still got the same error at the end. ┌──(root💀kali)-[/usr/lib/python2.7]
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. |
I have the same situation. Up please cd /usr/lib/python2.7/ I've done it. And I have this mistake 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. |
You are getting these errors because you are using Python v2.7 which was deprecated as of January 1st, 2020. Solution: But if you do not have Python v3 installed on your system, then you should install the latest version of Python Also; But; *). Copy the termcolor.py & termcolor.pyc from NOTE: |
thank you the last one worked for me. |
┌──(kali㉿kali)-[~/LFISuite]
└─$ python lfisuite.py
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already up-to-date: pip in /home/kali/.local/lib/python2.7/site-packages (20.2.4)
[*] Installing module 'termcolor'
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting termcolor
Using cached termcolor-1.1.0.tar.gz (3.9 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-3gNR89/termcolor/setup.py'"'"'; file='"'"'/tmp/pip-install-3gNR89/termcolor/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-sSDHVv
cwd: /tmp/pip-install-3gNR89/termcolor/
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: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Traceback (most recent call last):
File "lfisuite.py", line 68, in
from termcolor import colored
ImportError: No module named termcolor
┌──(kali㉿kali)-[~/LFISuite]
└─$
The text was updated successfully, but these errors were encountered: