{
  "id": 286684,
  "title": "Create new kernel enviroment get error ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6",
  "url": "/competitions/sartorius-cell-instance-segmentation/discussion/286684",
  "author_name": "",
  "post_date": "2021-11-10T08:39:50.635894Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I created a new Kaggle notebook to train my model but the below error always occur</p>\n<pre><code>ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /opt/conda/lib/python3.7/site-packages/scipy/signal/_max_len_seq_inner.cpython-37m-x86_64-linux-gnu.so)\n</code></pre>\n<p>This error will disappear if I install the package, but it takes more time to run. So I copy my old notebook (env from 2021-09-10) and it works ok. I think new notebook env is missing this package, could you fix it?</p>",
  "messages": [
    {
      "id": "1577627",
      "postDate": "11/10/2021 08:39:50",
      "content": "<p>I created a new Kaggle notebook to train my model but the below error always occur</p>\n<pre><code>ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /opt/conda/lib/python3.7/site-packages/scipy/signal/_max_len_seq_inner.cpython-37m-x86_64-linux-gnu.so)\n</code></pre>\n<p>This error will disappear if I install the package, but it takes more time to run. So I copy my old notebook (env from 2021-09-10) and it works ok. I think new notebook env is missing this package, could you fix it?</p>",
      "rawMarkdown": "I created a new Kaggle notebook to train my model but the below error always occur\n\n```\nImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /opt/conda/lib/python3.7/site-packages/scipy/signal/_max_len_seq_inner.cpython-37m-x86_64-linux-gnu.so)\n```\n\nThis error will disappear if I install the package, but it takes more time to run. So I copy my old notebook (env from 2021-09-10) and it works ok. I think new notebook env is missing this package, could you fix it?",
      "votes": null
    },
    {
      "id": "1578112",
      "postDate": "11/10/2021 16:43:29",
      "content": "<p>You can file a PR at: <a href=\"https://github.com/Kaggle/docker-python\" target=\"_blank\">https://github.com/Kaggle/docker-python</a></p>",
      "rawMarkdown": "You can file a PR at: https://github.com/Kaggle/docker-python",
      "votes": null
    },
    {
      "id": "1578116",
      "postDate": "11/10/2021 16:49:22",
      "content": "<pre><code>!cp /opt/conda/pkgs/libstdcxx-ng-11.2.0-he4da1e4_8/lib/libstdc++.so.6.0.29 /usr/lib/x86_64-linux-gnu/\n%cd /usr/lib/x86_64-linux-gnu/\n!rm -rf libstdc++.so.6\n!ln -s libstdc++.so.6.0.29 libstdc++.so.6\n%cd /kaggle/working/\n</code></pre>\n<p>Got the same issue a few days ago. Using the above code fixed it for me.</p>",
      "rawMarkdown": "```\n!cp /opt/conda/pkgs/libstdcxx-ng-11.2.0-he4da1e4_8/lib/libstdc++.so.6.0.29 /usr/lib/x86_64-linux-gnu/\n%cd /usr/lib/x86_64-linux-gnu/\n!rm -rf libstdc++.so.6\n!ln -s libstdc++.so.6.0.29 libstdc++.so.6\n%cd /kaggle/working/\n```\nGot the same issue a few days ago. Using the above code fixed it for me.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1578112,
      "author_name": "sohier",
      "author_url": "",
      "post_date": "11/10/2021 16:43:29",
      "content": "<p>You can file a PR at: <a href=\"https://github.com/Kaggle/docker-python\" target=\"_blank\">https://github.com/Kaggle/docker-python</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1578116,
      "author_name": "samfc10",
      "author_url": "",
      "post_date": "11/10/2021 16:49:22",
      "content": "<pre><code>!cp /opt/conda/pkgs/libstdcxx-ng-11.2.0-he4da1e4_8/lib/libstdc++.so.6.0.29 /usr/lib/x86_64-linux-gnu/\n%cd /usr/lib/x86_64-linux-gnu/\n!rm -rf libstdc++.so.6\n!ln -s libstdc++.so.6.0.29 libstdc++.so.6\n%cd /kaggle/working/\n</code></pre>\n<p>Got the same issue a few days ago. Using the above code fixed it for me.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1577627": "I created a new Kaggle notebook to train my model but the below error always occur\n\n```\nImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /opt/conda/lib/python3.7/site-packages/scipy/signal/_max_len_seq_inner.cpython-37m-x86_64-linux-gnu.so)\n```\n\nThis error will disappear if I install the package, but it takes more time to run. So I copy my old notebook (env from 2021-09-10) and it works ok. I think new notebook env is missing this package, could you fix it?",
    "1578112": "You can file a PR at: https://github.com/Kaggle/docker-python",
    "1578116": "```\n!cp /opt/conda/pkgs/libstdcxx-ng-11.2.0-he4da1e4_8/lib/libstdc++.so.6.0.29 /usr/lib/x86_64-linux-gnu/\n%cd /usr/lib/x86_64-linux-gnu/\n!rm -rf libstdc++.so.6\n!ln -s libstdc++.so.6.0.29 libstdc++.so.6\n%cd /kaggle/working/\n```\nGot the same issue a few days ago. Using the above code fixed it for me."
  },
  "source": "meta"
}