WARNING: Ignoring invalid distribution – (c:python310libsite-packages)

Question:

Whenever I install a pip library in Python, I get a series of warnings. For example :

WARNING: Ignoring invalid distribution -ip (c:python310libsite-packages)
WARNING: Ignoring invalid distribution - (c:python310libsite-packages)
WARNING: Ignoring invalid distribution -ip (c:python310libsite-packages)
WARNING: Ignoring invalid distribution - (c:python310libsite-packages)
WARNING: Ignoring invalid distribution -ip (c:python310libsite-packages)
WARNING: Ignoring invalid distribution - (c:python310libsite-packages)

How can I avoid getting these warnings ?

Asked By: Tom

||

Answers:

the warning below:

enter image description here

can fix as follows.

go to the libsite-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

Answered By: Chafik Boulealam

I solved this error by heading over to…

[ START > ADD OR REMOVE PROGRAMS > SEARCH PYTHON ]

Once there, removed Python 3.10.1. That should solve the problem.

Answered By: Daleon L
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.