{
  "id": 128533,
  "title": "commit failed without module named \"dlib\"!!!!",
  "url": "/competitions/deepfake-detection-challenge/discussion/128533",
  "author_name": "",
  "post_date": "2020-02-01T03:42:33.652242300Z",
  "votes": 1,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Before running code， I  executed “!pip install dlib”, and it finished installing，then run code and it is successful with generate sample_submission.csv.\nbut, when i commit it, it prompt error as shown below,\n              Traceback (most recent call last):\n               File \"../src/script.py\", line 6, in \n               import dlib\n               ModuleNotFoundError: No module named 'dlib'\nCan any help? how to solve it!!!!!!</p>",
  "messages": [
    {
      "id": "734168",
      "postDate": "02/01/2020 03:42:33",
      "content": "<p>Before running code， I  executed “!pip install dlib”, and it finished installing，then run code and it is successful with generate sample_submission.csv.\nbut, when i commit it, it prompt error as shown below,\n              Traceback (most recent call last):\n               File \"../src/script.py\", line 6, in \n               import dlib\n               ModuleNotFoundError: No module named 'dlib'\nCan any help? how to solve it!!!!!!</p>",
      "rawMarkdown": "Before running code， I  executed “!pip install dlib”, and it finished installing，then run code and it is successful with generate sample_submission.csv.\nbut, when i commit it, it prompt error as shown below,\n              Traceback (most recent call last):\n               File \"../src/script.py\", line 6, in \n               import dlib\n               ModuleNotFoundError: No module named 'dlib'\nCan any help? how to solve it!!!!!!",
      "votes": null
    },
    {
      "id": "734172",
      "postDate": "02/01/2020 03:54:35",
      "content": "<p>So kaggle will automatically run your cells top to down. Be sure the \"!pip install dlib\" is on top of the \"import dlib\"</p>",
      "rawMarkdown": "So kaggle will automatically run your cells top to down. Be sure the \"!pip install dlib\" is on top of the \"import dlib\"",
      "votes": null
    },
    {
      "id": "734387",
      "postDate": "02/01/2020 11:45:52",
      "content": "<p>Thank you for your answer. I tried as you said and it work</p>",
      "rawMarkdown": "Thank you for your answer. I tried as you said and it work",
      "votes": null
    },
    {
      "id": "734746",
      "postDate": "02/02/2020 00:18:19",
      "content": "<p>when I submit to competition, the 'submit to competition' button remains inaccessible with the message \"Your Notebook cannot use internet access in this competition\".   if i set internet off in the kenel, it cannot commit with error 'No module named dlib ', what should do?</p>",
      "rawMarkdown": "when I submit to competition, the 'submit to competition' button remains inaccessible with the message \"Your Notebook cannot use internet access in this competition\".   if i set internet off in the kenel, it cannot commit with error 'No module named dlib ', what should do?",
      "votes": null
    },
    {
      "id": "734773",
      "postDate": "02/02/2020 01:36:57",
      "content": "<p>so we need to install dlib offline. use this dataset <a href=\"https://www.kaggle.com/carlossouza/dlibpkg/kernels\">link</a>. Instructions:\n1. add this dataset to your notebook\n2. add this line to the very top of your notebook <code>!pip install /kaggle/input/dlibpkg/dlib-19.19.0</code></p>",
      "rawMarkdown": "so we need to install dlib offline. use this dataset [link](https://www.kaggle.com/carlossouza/dlibpkg/kernels). Instructions:\n1. add this dataset to your notebook\n2. add this line to the very top of your notebook `!pip install /kaggle/input/dlibpkg/dlib-19.19.0`",
      "votes": null
    },
    {
      "id": "739030",
      "postDate": "02/07/2020 10:06:51",
      "content": "<p>we put only while submission or running normally also will take this instead of !pip install dlib</p>",
      "rawMarkdown": "we put only while submission or running normally also will take this instead of !pip install dlib",
      "votes": null
    },
    {
      "id": "739048",
      "postDate": "02/07/2020 10:41:46",
      "content": "<p><a href=\"/unkownhihi\">@unkownhihi</a> , thank for your help, and it generate submission.cvs, but when i pressed the 'submit to competition' button, it runs too long, and public score display error，Is my program running too long? I don't know why.</p>",
      "rawMarkdown": "unkownhihi , thank for your help, and it generate submission.cvs, but when i pressed the 'submit to competition' button, it runs too long, and public score display error，Is my program running too long? I don't know why.",
      "votes": null
    },
    {
      "id": "739287",
      "postDate": "02/07/2020 16:38:54",
      "content": "<p>So if you're commit time longer than 3240 seconds, you won't be able to finish.</p>",
      "rawMarkdown": "So if you're commit time longer than 3240 seconds, you won't be able to finish.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 734172,
      "author_name": "unkownhihi",
      "author_url": "",
      "post_date": "02/01/2020 03:54:35",
      "content": "<p>So kaggle will automatically run your cells top to down. Be sure the \"!pip install dlib\" is on top of the \"import dlib\"</p>",
      "votes": null,
      "replies": [
        {
          "id": 734387,
          "author_name": "derickz",
          "author_url": "",
          "post_date": "02/01/2020 11:45:52",
          "content": "<p>Thank you for your answer. I tried as you said and it work</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 734746,
          "author_name": "derickz",
          "author_url": "",
          "post_date": "02/02/2020 00:18:19",
          "content": "<p>when I submit to competition, the 'submit to competition' button remains inaccessible with the message \"Your Notebook cannot use internet access in this competition\".   if i set internet off in the kenel, it cannot commit with error 'No module named dlib ', what should do?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 734773,
          "author_name": "unkownhihi",
          "author_url": "",
          "post_date": "02/02/2020 01:36:57",
          "content": "<p>so we need to install dlib offline. use this dataset <a href=\"https://www.kaggle.com/carlossouza/dlibpkg/kernels\">link</a>. Instructions:\n1. add this dataset to your notebook\n2. add this line to the very top of your notebook <code>!pip install /kaggle/input/dlibpkg/dlib-19.19.0</code></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 739030,
          "author_name": "rishabh12j",
          "author_url": "",
          "post_date": "02/07/2020 10:06:51",
          "content": "<p>we put only while submission or running normally also will take this instead of !pip install dlib</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 739048,
          "author_name": "derickz",
          "author_url": "",
          "post_date": "02/07/2020 10:41:46",
          "content": "<p><a href=\"/unkownhihi\">@unkownhihi</a> , thank for your help, and it generate submission.cvs, but when i pressed the 'submit to competition' button, it runs too long, and public score display error，Is my program running too long? I don't know why.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 739287,
          "author_name": "unkownhihi",
          "author_url": "",
          "post_date": "02/07/2020 16:38:54",
          "content": "<p>So if you're commit time longer than 3240 seconds, you won't be able to finish.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "734168": "Before running code， I  executed “!pip install dlib”, and it finished installing，then run code and it is successful with generate sample_submission.csv.\nbut, when i commit it, it prompt error as shown below,\n              Traceback (most recent call last):\n               File \"../src/script.py\", line 6, in \n               import dlib\n               ModuleNotFoundError: No module named 'dlib'\nCan any help? how to solve it!!!!!!",
    "734172": "So kaggle will automatically run your cells top to down. Be sure the \"!pip install dlib\" is on top of the \"import dlib\"",
    "734387": "Thank you for your answer. I tried as you said and it work",
    "734746": "when I submit to competition, the 'submit to competition' button remains inaccessible with the message \"Your Notebook cannot use internet access in this competition\".   if i set internet off in the kenel, it cannot commit with error 'No module named dlib ', what should do?",
    "734773": "so we need to install dlib offline. use this dataset [link](https://www.kaggle.com/carlossouza/dlibpkg/kernels). Instructions:\n1. add this dataset to your notebook\n2. add this line to the very top of your notebook `!pip install /kaggle/input/dlibpkg/dlib-19.19.0`",
    "739030": "we put only while submission or running normally also will take this instead of !pip install dlib",
    "739048": "unkownhihi , thank for your help, and it generate submission.cvs, but when i pressed the 'submit to competition' button, it runs too long, and public score display error，Is my program running too long? I don't know why.",
    "739287": "So if you're commit time longer than 3240 seconds, you won't be able to finish."
  },
  "source": "meta"
}