{
  "id": 67130,
  "title": "Can anyone import lightgbm on your kernel?",
  "url": "/competitions/ga-customer-revenue-prediction/discussion/67130",
  "author_name": "",
  "post_date": "2018-09-29T06:31:12.939778300Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I try to import lightgbm but I'm facing this problem:</p>\n\n<pre><code>---------------------------------------------------------------------------\nOSError                                   Traceback (most recent call last)\n&lt;ipython-input-3-b18b3f8a6dc8&gt; in &lt;module&gt;()\n----&gt; 1 import lightgbm\n\n/opt/conda/lib/python3.6/site-packages/lightgbm/__init__.py in &lt;module&gt;()\n      6 from __future__ import absolute_import\n      7 \n----&gt; 8 from .basic import Booster, Dataset\n      9 from .callback import (early_stopping, print_evaluation, record_evaluation,\n     10                        reset_parameter)\n\n/opt/conda/lib/python3.6/site-packages/lightgbm/basic.py in &lt;module&gt;()\n     31 \n     32 \n---&gt; 33 _LIB = _load_lib()\n     34 \n     35 \n\n/opt/conda/lib/python3.6/site-packages/lightgbm/basic.py in _load_lib()\n     26     if len(lib_path) == 0:\n     27         return None\n---&gt; 28     lib = ctypes.cdll.LoadLibrary(lib_path[0])\n     29     lib.LGBM_GetLastError.restype = ctypes.c_char_p\n     30     return lib\n\n/opt/conda/lib/python3.6/ctypes/__init__.py in LoadLibrary(self, name)\n    424 \n    425     def LoadLibrary(self, name):\n--&gt; 426         return self._dlltype(name)\n    427 \n    428 cdll = LibraryLoader(CDLL)\n\n/opt/conda/lib/python3.6/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)\n    346 \n    347         if handle is None:\n--&gt; 348             self._handle = _dlopen(self._name, mode)\n    349         else:\n    350             self._handle = handle\n\nOSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23' not found (required by /opt/conda/lib/python3.6/site-packages/lightgbm/lib_lightgbm.so)\n</code></pre>\n\n<p>Any bug?</p>",
  "messages": [
    {
      "id": "395684",
      "postDate": "09/29/2018 06:31:12",
      "content": "<p>I try to import lightgbm but I'm facing this problem:</p>\n\n<pre><code>---------------------------------------------------------------------------\nOSError                                   Traceback (most recent call last)\n&lt;ipython-input-3-b18b3f8a6dc8&gt; in &lt;module&gt;()\n----&gt; 1 import lightgbm\n\n/opt/conda/lib/python3.6/site-packages/lightgbm/__init__.py in &lt;module&gt;()\n      6 from __future__ import absolute_import\n      7 \n----&gt; 8 from .basic import Booster, Dataset\n      9 from .callback import (early_stopping, print_evaluation, record_evaluation,\n     10                        reset_parameter)\n\n/opt/conda/lib/python3.6/site-packages/lightgbm/basic.py in &lt;module&gt;()\n     31 \n     32 \n---&gt; 33 _LIB = _load_lib()\n     34 \n     35 \n\n/opt/conda/lib/python3.6/site-packages/lightgbm/basic.py in _load_lib()\n     26     if len(lib_path) == 0:\n     27         return None\n---&gt; 28     lib = ctypes.cdll.LoadLibrary(lib_path[0])\n     29     lib.LGBM_GetLastError.restype = ctypes.c_char_p\n     30     return lib\n\n/opt/conda/lib/python3.6/ctypes/__init__.py in LoadLibrary(self, name)\n    424 \n    425     def LoadLibrary(self, name):\n--&gt; 426         return self._dlltype(name)\n    427 \n    428 cdll = LibraryLoader(CDLL)\n\n/opt/conda/lib/python3.6/ctypes/__init__.py in __init__(self, name, mode, handle, use_errno, use_last_error)\n    346 \n    347         if handle is None:\n--&gt; 348             self._handle = _dlopen(self._name, mode)\n    349         else:\n    350             self._handle = handle\n\nOSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23' not found (required by /opt/conda/lib/python3.6/site-packages/lightgbm/lib_lightgbm.so)\n</code></pre>\n\n<p>Any bug?</p>",
      "rawMarkdown": "I try to import lightgbm but I'm facing this problem:\n\n\n    ---------------------------------------------------------------------------\n    OSError                                   Traceback (most recent call last)",
      "votes": null
    },
    {
      "id": "395853",
      "postDate": "09/29/2018 13:39:02",
      "content": "<p>Hi Nghia, i am faced with the similar issue as well. Just turn off gpu works for me</p>",
      "rawMarkdown": "Hi Nghia, i am faced with the similar issue as well. Just turn off gpu works for me",
      "votes": null
    },
    {
      "id": "395913",
      "postDate": "09/29/2018 15:19:14",
      "content": "<p>You saved me! It's work, thanks so much :D</p>",
      "rawMarkdown": "You saved me! It's work, thanks so much :D",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 395853,
      "author_name": "wei3hua2",
      "author_url": "",
      "post_date": "09/29/2018 13:39:02",
      "content": "<p>Hi Nghia, i am faced with the similar issue as well. Just turn off gpu works for me</p>",
      "votes": null,
      "replies": [
        {
          "id": 395913,
          "author_name": "zzerozz",
          "author_url": "",
          "post_date": "09/29/2018 15:19:14",
          "content": "<p>You saved me! It's work, thanks so much :D</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "395684": "I try to import lightgbm but I'm facing this problem:\n\n\n    ---------------------------------------------------------------------------\n    OSError                                   Traceback (most recent call last)",
    "395853": "Hi Nghia, i am faced with the similar issue as well. Just turn off gpu works for me",
    "395913": "You saved me! It's work, thanks so much :D"
  },
  "source": "meta"
}