BeeF-Over-Wan
BeeF-Over-Wan copied to clipboard
No module named termcolor
I tried to run pip install termcolor but it shows Requirement already satisfied: termcolor in /usr/local/lib/python3.9/dist-packages (1.1.0)
Please help for the same reason please
Hi, This should solve your problem :
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo apt-get update
pip install termcolor
I am getting this error @Lorenz11x
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.
Collecting termcolor
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ZPEiau/termcolor/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ZPEiau/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-bE3dnM
cwd: /tmp/pip-install-ZPEiau/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: invalid command 'egg_info'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
please help @Lorenz11x
pip install --upgrade setuptools
I got it fix
Thank you @Lorenz11x