WARNING: Ignoring invalid distribution -ip (c:\python39\lib\site-packages) How do I fix this and what does it mean?

52,098

So apparently some folder/package named -ip + some numbers was installed at c:\python39\lib\site-packages.

Once I checked my site packages at the link it provided and removed the ip(random numbers) package it stopped giving me errors.

Share:
52,098

Related videos on Youtube

ralphiecodes
Author by

ralphiecodes

Updated on January 09, 2022

Comments

  • ralphiecodes
    ralphiecodes over 2 years

    Error

    I keep getting this error:

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

    How do I fix this and what does it mean?

    I have anaconda and Python installed. I use Jupyter Notebook and Python in VS Code.

    This is in Git Bash command line.

    My operating system is Windows 10 Home.

    I have Python 3.9.2 and pip 21.1.1.

  • George Ogden
    George Ogden almost 3 years
    If it has the wrong name, it probably begins with ~
  • Tấn Nguyên
    Tấn Nguyên almost 3 years
    It occur when I ran pip upgrade failed, remove it should work
  • Mai Hai
    Mai Hai over 2 years
    Yes, just go to lib\site-packages folder, then looking for folders start with ~ and mentioned in that warning, then remove them.
  • Azurespot
    Azurespot almost 2 years
    @GeorgeOgden how does a file/folder get the ~ at the start to begin with? I had just one folder with that in my Python directory.
  • Manabu Tokunaga
    Manabu Tokunaga almost 2 years
    It was just a matter of removing files in c:\python310\lib\site-packages that started with a ~.