Uploaded image for project: 'SPI'
  1. SPI
  2. SPI-2041

Missing Dependency in sklearn.cluster Submodule

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • LCG Releases
    • None
    • LCG_101

    • Bug report
    • 3 - Normal
    • ANY

    Description

      {{The Python submodule sklearn.cluster is missing the dependency threadpoolctl.

      /cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/setup.sh
      <http://sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/setup.sh>
      vandelli@lxplus740 ~ $ python -c "import sklearn.cluster"
      Traceback (most recent call last):
         File "<string>", line 1, in <module>
         File
      "/cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_init_.py
      <http://sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_init_.py>",
      line 6, in <module>
           from ._spectral import spectral_clustering, SpectralClustering
         File
      "/cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_spectral.py
      <http://sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_spectral.py>",
      line 19, in <module>
           from ._kmeans import k_means
         File
      "/cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py
      <http://sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc11-opt/lib/python3.9/site-packages/sklearn/cluster/_kmeans.py>",
      line 18, in <module>
           from threadpoolctl import threadpool_limits
      ModuleNotFoundError: No module named 'threadpoolctl'}}

      Attachments

        Activity

          People

            hahansen Harald Minde Hansen
            kstehle Kevin Franz Stehle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: