Python Forum
WARNING: Ignoring invalid distribution - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: WARNING: Ignoring invalid distribution (/thread-38087.html)



WARNING: Ignoring invalid distribution - kucingkembar - Sep-01-2022

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?


RE: WARNING: Ignoring invalid distribution - snippsat - Sep-02-2022

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