Reputation: 361
WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -yproj (c:\users\space_junk\appdata\local\programs\python\python310\lib\site-packages)
Upvotes: 6
Views: 21974
Reputation: 41
I had the same problem with matplotlib. It looked like I wanted to install a package from some sort of unauthorized source.
You should delete the folder that caused the problem in site-packages folder. In your case, it is ~yproj (In my case, it was ~atplotlib).
In short :
~yproj
in your caseUpvotes: 4
Reputation: 351
I was getting a similar message that turned out be caused by a previous failed pip upgrade. I had attempted to upgrade pip from a user account that didn't have the proper rights. There was a temp directory left behind in site-packages that began with ~ip which was causing pip to complain every time it ran. I removed the directory and was able to re-upgrade pip using an account that had proper permissions. No more warnings from pip.
Did you have a problem installing something like pyproj by any chance? The temp directory seems to be named by replacing the first letter of the library with a ~.
Upvotes: 16