python - "command-not-found==0.2.44" in pip's freeze -
the output of pip freeze
on machine has included following odd line:
command-not-found==0.2.44
when trying install requirements on different machine, got obvious no distributions @ found command-not-found==0.2.44
. pip
bug? or there real python package of name, 1 not exist in pypi
?
indeed, mentioned in follow comments, ubuntu has python package, installed via dpkg/apt called "python-commandnotfound"
$apt-cache search command-not-found command-not-found - suggest installation of packages in interactive bash sessions command-not-found-data - set of data files command-not-found. python-commandnotfound - python 2 bindings command-not-found. python3-commandnotfound - python 3 bindings command-not-found.
as provided via apt, , not available in pypi repo, won't able install via pip, pip see installed. purposes of showing installed packages, pip doesn't care if package installed via apt, easy_install, pip, manually, etc.
in short, if need on host (which assume don't) you'll need apt-get install python-commandnotfound
.
Comments
Post a Comment