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_resources.working_set

package_list = []
for p in sorted (packages):
  print ("%-20s -> %s" % (p.key, p.location))

---------- 8< -- 8< ---------------

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?


--
--gv
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to