[Debian-med-packaging] pauvre is missing sklearn despite the package is installed

Andreas Tille andreas at an3as.eu
Mon Apr 27 12:17:50 BST 2020


Hi,

the Debian Med team is busy to package python-pauvre[1] which is part of
our COVID-19 sprint.  I think Etienne Mollier and I have put the packaging
in quite some shape in Git[1].  However, when I try to test the included
CLI interface I get:


$ pauvre -h
Traceback (most recent call last):
  File "/usr/bin/pauvre", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sklearn' distribution was not found and is required by pauvre


Since sklearn is installed due to the dependencies I wonder what I might
miss here.  Any hints?

Kind regards

       Andreas.


[1] https://salsa.debian.org/med-team/python-pauvre

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list