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

xgboost python module not available in lcg views

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • LCG Releases
    • None
    • lxplus, slc6, x86_64-slc6-gcc62-opt

    • x86_64-slc6-gcc48-opt

    Description

      It appears LCG views (example here LCG 91, though as far as I see it LCG 89-92) include the xgboost shared library and include header, but not the python module:

      > source /cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc62-opt/setup.sh
      > python -c 'import xgboost'
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
      ImportError: No module named xgboost

      the python module however is present in the LCG release:

      > source /cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc62-opt/setup.sh
      > export PYTHONPATH=/cvmfs/sft.cern.ch/lcg/releases/LCG_91/xgboost/0.60/x86_64-slc6-gcc62-opt/python-package:${PYTHONPATH}
      > python -c 'import xgboost'
      /cvmfs/sft.cern.ch/lcg/views/LCG_91/x86_64-slc6-gcc62-opt/lib/python2.7/site-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
        "This module will be removed in 0.20.", DeprecationWarning)

      (The deprecation is not nice, but at least the module is loaded successfully and I'm sklearn will make a valid future version)

      Attachments

        Activity

          People

            mato Pere Mato Vila
            pseyfert Paul Seyfert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: