Re: PIP question

2019-09-27 Thread dieter
Gisle Vanem writes: > ... > All this *.dist-info stuff is alien stuff to me, but I guess > 'pip install --upgrade' uses these? Most of "pip" is using this. They contain important meta information (e.g. version number, dependencies, overview information, ...) about a distribution not directly used

Re: PIP question

2019-09-27 Thread Gisle Vanem
dieter wrote: 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 "Z

Re: PIP question

2019-09-26 Thread dieter
Gisle Vanem 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 wi

PIP question

2019-09-26 Thread Gisle Vanem
Hello list. This little program should print the location of all my installed Python packages: -- 8< -- 8< --- import pip try: packages = pip.get_installed_distributions (local_only=False, skip=()) except AttributeError: import pkg_resources # Python3 packages = pkg_