I have been trying to download the necessary libraries for my programs, the problem I have is that when I download the library, it gives me the following error
WARNING: Ignoring invalid distribution -yautogui (c:\users\0.0\appdata\local\programs\python\python38-32\lib\site-packages)
I have tried the following:
- Update PIP
- Update libraries
I would appreciate in advance that you help me with my situation since I don't know what to do
Apparently there is a folder with the corrupted name inside the path
c:\users\0.0\appdata\local\programs\python\python38-32\lib\site-packages
with an invalid name and every time pip tries to do something it warns you about it.Go into site-packages and check if by any chance a folder with the name
-yautogui
probably followed by a number has been left behind. If so, try deleting them and the message should go away.It also showed me these warning messages for python 3.9.7, what I did was go to the folder:
C:\Python39\Lib\site-packages
and delete the files that started with~
This clear running the terminal as Administrator.