PIP question

dieter dieter at handshake.de
Fri Sep 27 01:21:20 EDT 2019


Gisle Vanem <gisle.vanem at gmail.com> writes:
> ... pip list ...
> But for my Python 3.6 installation, it claims I have
> an '-ip' package:
> -ip        -> f:\programfiler\python36\lib\site-packages
>
> I fail to find one, but I do have a:
>   f:\programfiler\python36\lib\site-packages\~ip-19.1.1.dist-info
>
> directory with some possible leftovers. It there a connection
> between this mysterious '-ip' package and this directory?

This is possible. A so called "distribution" can install
packages of a different name (for example, the distribution "Zope"
installs (among others) a package "ZPublisher"). In addition, the
actual installation typically has lost metadata information (e.g.
the version number). Therefore, "pip" may use "*.dist-info" or
"*.egg-info" directories to provide this metadata. Look into those
directories to find out which packages are installed for the
corresponding distribution. You can then check whether those packages
are truely available (and if not delete the *-info* directory).




More information about the Python-list mailing list