Whenever I install a pip library in Python, I get a series of warnings. For example :
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
How can I avoid getting these warnings ?
the warning below:
can fix as follows.
go to the lib\site-packages folder, then look for folders starting with ~ like what you see in the picture below
and mentioned in that warning, then remove them
this can be fixed this warning and no longer appears