Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12533 > unrolled thread

pauvre is missing sklearn despite the package is installed

Started byAndreas Tille <andreas@an3as.eu>
First post2020-04-27 13:20 +0200
Last post2020-04-27 20:50 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.maint.python


Contents

  pauvre is missing sklearn despite the package is installed Andreas Tille <andreas@an3as.eu> - 2020-04-27 13:20 +0200
    Re: pauvre is missing sklearn despite the package is installed Andrey Rahmatullin <wrar@debian.org> - 2020-04-27 17:20 +0200
      Re: [Debian-med-packaging] pauvre is missing sklearn despite the  package is installed Étienne Mollier <etienne.mollier@mailoo.org> - 2020-04-27 20:10 +0200
        Re: [Debian-med-packaging] pauvre is missing sklearn despite the  package is installed Étienne Mollier <etienne.mollier@mailoo.org> - 2020-04-27 20:50 +0200

#12533 — pauvre is missing sklearn despite the package is installed

FromAndreas Tille <andreas@an3as.eu>
Date2020-04-27 13:20 +0200
Subjectpauvre is missing sklearn despite the package is installed
Message-ID<A09XQ-5HX-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#12534

FromAndrey Rahmatullin <wrar@debian.org>
Date2020-04-27 17:20 +0200
Message-ID<A0dI5-7X4-11@gated-at.bofh.it>
In reply to#12533

[Multipart message — attachments visible in raw view] — view raw

On Mon, Apr 27, 2020 at 01:17:50PM +0200, Andreas Tille wrote:
> pkg_resources.DistributionNotFound: The 'sklearn' distribution was not found and is required by pauvre
It's actually called scikit-learn, not sklearn, see e.g.
/usr/lib/python3/dist-packages/scikit_learn-0.22.2.post1.egg-info and
https://pypi.org/project/sklearn/

-- 
WBR, wRAR

[toc] | [prev] | [next] | [standalone]


#12535 — Re: [Debian-med-packaging] pauvre is missing sklearn despite the package is installed

FromÉtienne Mollier <etienne.mollier@mailoo.org>
Date2020-04-27 20:10 +0200
SubjectRe: [Debian-med-packaging] pauvre is missing sklearn despite the package is installed
Message-ID<A0gmB-18h-1@gated-at.bofh.it>
In reply to#12534

[Multipart message — attachments visible in raw view] — view raw

Andrey Rahmatullin, on 2020-04-27 20:12:33 +0500:
> On Mon, Apr 27, 2020 at 01:17:50PM +0200, Andreas Tille wrote:
> > pkg_resources.DistributionNotFound: The 'sklearn' distribution was not found and is required by pauvre
> It's actually called scikit-learn, not sklearn, see e.g.
> /usr/lib/python3/dist-packages/scikit_learn-0.22.2.post1.egg-info and
> https://pypi.org/project/sklearn/

Hi Andrey,

Thank you for the pointers.  I have a bit of time this evening,
will see if the test can be started with that information.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@mailoo.org>
Fingerprint:  5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
Help find cures against the Covid-19 !  Give CPU cycles:
  * Rosetta@home: https://boinc.bakerlab.org/rosetta/
  * Folding@home: https://foldingathome.org/

[toc] | [prev] | [next] | [standalone]


#12536 — Re: [Debian-med-packaging] pauvre is missing sklearn despite the package is installed

FromÉtienne Mollier <etienne.mollier@mailoo.org>
Date2020-04-27 20:50 +0200
SubjectRe: [Debian-med-packaging] pauvre is missing sklearn despite the package is installed
Message-ID<A0gZk-1lb-1@gated-at.bofh.it>
In reply to#12535

[Multipart message — attachments visible in raw view] — view raw

Étienne Mollier, on 2020-04-27 20:00:42 +0200:
> Andrey Rahmatullin, on 2020-04-27 20:12:33 +0500:
> > On Mon, Apr 27, 2020 at 01:17:50PM +0200, Andreas Tille wrote:
> > > pkg_resources.DistributionNotFound: The 'sklearn' distribution was not found and is required by pauvre
> > It's actually called scikit-learn, not sklearn, see e.g.
> > /usr/lib/python3/dist-packages/scikit_learn-0.22.2.post1.egg-info and
> > https://pypi.org/project/sklearn/
> 
> Hi Andrey,
> 
> Thank you for the pointers.  I have a bit of time this evening,
> will see if the test can be started with that information.

Hi Andreas,

I pushed a change which modifies the manifest in setup.py.  This
did some good for running `pauvre -h`.  I believe testing can
move forward.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@mailoo.org>
Fingerprint:  5ab1 4edf 63bb ccff 8b54  2fa9 59da 56fe fff3 882d
Help find cures against the Covid-19 !  Give CPU cycles:
  * Rosetta@home: https://boinc.bakerlab.org/rosetta/
  * Folding@home: https://foldingathome.org/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web