BeeF-Over-Wan icon indicating copy to clipboard operation
BeeF-Over-Wan copied to clipboard

No module named termcolor

Open Fluffydude opened this issue 3 years ago • 7 comments

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)

Fluffydude avatar Feb 21 '21 21:02 Fluffydude

Please help for the same reason please

shreesha345 avatar Apr 19 '21 17:04 shreesha345

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

Lorenz11x avatar Apr 23 '21 19:04 Lorenz11x

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.

shreesha345 avatar Apr 25 '21 06:04 shreesha345

please help @Lorenz11x

shreesha345 avatar Apr 25 '21 06:04 shreesha345

pip install --upgrade setuptools

Lorenz11x avatar Apr 25 '21 20:04 Lorenz11x

I got it fix

shreesha345 avatar Jul 14 '21 06:07 shreesha345

Thank you @Lorenz11x

shreesha345 avatar Jul 14 '21 06:07 shreesha345