Click here to Skip to main content
16,018,092 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I think this is what happens atleast. If i do:
pip show termcolor

it returns
WARNING: Package(s) not found: termcolor

Oh, okay I forgot to install it then, no problem let me just:
pip install termcolor

it gives me:
Collecting termcolor
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
  Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: termcolor
  Running setup.py install for termcolor ... done
Successfully installed termcolor-1.1.0

Okay, fantastic.
pip show termcolor

still returns
WARNING: Package(s) not found: termcolor

How is this even possible? I have also checked and only 1 version of Python is installed (i even uninstalled Anaconda to be sure) but it still does this.

What I have tried:

I have tried pip install termcolor --upgrade, i have tried pip uninstall termcolor (not possible because it cannot be found but thought it was worth a try)
Posted
Updated 25-Apr-22 0:59am

1 solution

I just tried this in a Python virtual environment and it worked fine.
(foobar) C:\foobar>pip install termcolor 
Collecting termcolor
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Using legacy 'setup.py install' for termcolor, since package 'wheel' is not installed.
Installing collected packages: termcolor
    Running setup.py install for termcolor ... done
Successfully installed termcolor-1.1.0

(foobar) C:\foobar>pip show termcolor    
Name: termcolor
Version: 1.1.0
Summary: ANSII Color formatting for output in terminal.
Home-page: http://pypi.python.org/pypi/termcolor
Author: Konstantin Lepa
Author-email: konstantin.lepa@gmail.com
License: MIT
Location: c:\foobar\lib\site-packages
Requires:
Required-by:
 
Share this answer
 
Comments
Member 14769677 25-Apr-22 7:09am    
I know that's how it's supposed to work. But it doesn't xD
Richard MacCutchan 25-Apr-22 7:13am    
Fine, but there is nothing anyone here can do without access to your system.
Richard MacCutchan 25-Apr-22 7:36am    
Check the content of Lib\site-packages directory under your Python installation directory.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900