Skip to content

Pip reports a nonexistent "-illow" package to be installed #9731

@danijar

Description

@danijar

pip version

21.0.1

Python version

3.9

OS

MacOS Big Sur

Additional information

No response

Description

Pip says that I have both the package "Pillow" and the package "-illow" installed. This is a mistake and it breaks the output of pip3 freeze.

Expected behavior

The "-illow" package does not exist and should not be listed in pip3 list or pip3 freeze.

How to Reproduce

I don't know how I got into this state. There is no "-illow" directory in my site-packages folder. The mysterious package shows up in pip3 list and causes pip3 freeze to error.

Output

$ pip3 list
Package            Version
------------------ ---------
-illow             8.1.2
bleach             3.3.0
certifi            2020.12.5
chardet            4.0.0
...
opensimplex        0.3
packaging          20.9
Pillow             8.1.2
pip                21.0.1
...
$ pip3 freeze

WARNING: Could not generate requirement for distribution -illow 8.1.2 (/Users/danijar/Library/Python/3.9/lib/python/site-packages): Parse error at "'-illow=='": Expected W:(abcd...)
bleach==3.3.0
certifi==2020.12.5
chardet==4.0.0
...
opensimplex==0.3
packaging==20.9
Pillow==8.1.2
pkginfo==1.7.0
...

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions