WARNING: Ignoring invalid distribution -umpy (d:\program\anaconda3\envs\cat\lib\site-packages)

Problem Description

Use pip to check the installed packages, and there are countless warnings.

 

(cat) PS E:\matlab> pip list
WARNING: Ignoring invalid distribution -umpy (d:\program\anaconda3\envs\cat\lib\site-packages)
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
WARNING: No metadata found in d:\program\anaconda3\envs\cat\lib\site-packages
Package                 Version
----------------------- ---------
absl-py                 0.12.0
appdirs                 1.4.4
astroid                 2.5.6
……
wrapt                   1.12.1
WARNING: Ignoring invalid distribution -umpy (d:\program\anaconda3\envs\cat\lib\site-packages)
WARNING: Ignoring invalid distribution -umpy (d:\program\anaconda3\envs\cat\lib\site-packages)
WARNING: Ignoring invalid distribution -umpy (d:\program\anaconda3\envs\cat\lib\site-packages)

solution

Find the folder according to the address on the warning, and delete the folder with ~ in front of it. They are all useless discarded packages left when the plug-in installation fails. The warning does not actually affect the execution, but it will affect the mood, so it needs to be dealt with.

 

Guess you like

Origin blog.csdn.net/a1456123a/article/details/128944505