WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)

Viewed 13809

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 ?

1 Answers

the warning below:

enter image description here

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

enter image description here

and mentioned in that warning, then remove them

this can be fixed this warning and no longer appears

Related