Python Forum

Full Version: WARNING: Ignoring invalid distribution
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi, every time I install using pip, I get this warning:
Error:
WARNING: Ignoring invalid distribution -rotli (c:\python\python310\lib\site-packages)
is this critical?
how to fix it?
When pip is removing a package,it first renames the first letter with a -.
If an uninstall fails the renamed directory keeps there,but it is invalid.
Manually delete the folder -rotli and upgrade pip.
python -m pip install --upgrade pip