{
  "id": 408130,
  "title": "Kaggle Notebook vs Jupyter Notebook",
  "url": "/competitions/predict-student-performance-from-game-play/discussion/408130",
  "author_name": "Kevin McGoldrick",
  "post_date": "2023-05-09T15:57:17.103000",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Apologies in advance for the basic question. I have searched and tried, but have not found a solution.</p>\n<p>When I copy the Notebook \"Baseline Logistic Regression only Group Level\" to a Jupyter Notebook it works. However when I try it in a Kaggle Notebook, i see the following error ModuleNotFoundError: No module named 'datatable'.</p>\n<p>I understand that it has something to do with environments. My Jupyter Notebook PIP list shows datatable, however I cannot add it to the environment in the Kaggle Notebook. </p>\n<p>Any assistance would be greatly appreciated.</p>\n<p>Thanks,<br>\nKevin</p>",
  "messages": [
    {
      "id": 2251757,
      "postDate": "2023-05-09T15:57:17.103Z",
      "content": "<p>Apologies in advance for the basic question. I have searched and tried, but have not found a solution.</p>\n<p>When I copy the Notebook \"Baseline Logistic Regression only Group Level\" to a Jupyter Notebook it works. However when I try it in a Kaggle Notebook, i see the following error ModuleNotFoundError: No module named 'datatable'.</p>\n<p>I understand that it has something to do with environments. My Jupyter Notebook PIP list shows datatable, however I cannot add it to the environment in the Kaggle Notebook. </p>\n<p>Any assistance would be greatly appreciated.</p>\n<p>Thanks,<br>\nKevin</p>",
      "rawMarkdown": "Apologies in advance for the basic question. I have searched and tried, but have not found a solution.\n\nWhen I copy the Notebook \"Baseline Logistic Regression only Group Level\" to a Jupyter Notebook it works. However when I try it in a Kaggle Notebook, i see the following error ModuleNotFoundError: No module named 'datatable'.\n\nI understand that it has something to do with environments. My Jupyter Notebook PIP list shows datatable, however I cannot add it to the environment in the Kaggle Notebook. \n\nAny assistance would be greatly appreciated.\n\nThanks,\nKevin",
      "votes": 1
    },
    {
      "id": 2251785,
      "postDate": "2023-05-09T16:13:27.500Z",
      "content": "<p>If you are in training phase, just install the library first(like !pip install xxx),<br>\nor prepare the installation file (like .whl file), and upload to your datasets, then add the dataset to install without internet.<br>\nI find some <a href=\"https://www.kaggle.com/code/sudalairajkumar/getting-started-with-python-datatable\" target=\"_blank\">notebook</a>, fyi.<br>\nNote: If you are in inference phase, probability you have to disable internet.</p>",
      "rawMarkdown": "If you are in training phase, just install the library first(like !pip install xxx),\nor prepare the installation file (like .whl file), and upload to your datasets, then add the dataset to install without internet.\nI find some [notebook](https://www.kaggle.com/code/sudalairajkumar/getting-started-with-python-datatable), fyi.\nNote: If you are in inference phase, probability you have to disable internet.",
      "replies": [
        {
          "id": 2251855,
          "postDate": "2023-05-09T16:56:37.897Z",
          "rawMarkdown": "",
          "isDeleted": true
        },
        {
          "id": 2251866,
          "postDate": "2023-05-09T17:16:13.600Z",
          "content": "<p>Never mind, i was able to install datatable from source. Thanks</p>",
          "rawMarkdown": "Never mind, i was able to install datatable from source. Thanks",
          "replies": [
            {
              "id": 2276836,
              "postDate": "2023-05-27T08:38:14.620Z",
              "content": "<p>Instead of building datatable from source, you can just <code>!pip install</code> <a href=\"https://www.kaggle.com/datasets/kononenko/datatable\" target=\"_blank\">the appropriate pre-built wheel</a> from your kaggle notebook.</p>",
              "rawMarkdown": "Instead of building datatable from source, you can just `!pip install` [the appropriate pre-built wheel](https://www.kaggle.com/datasets/kononenko/datatable) from your kaggle notebook."
            }
          ]
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 2251785,
      "author_name": "JimmyLiao",
      "author_url": "",
      "post_date": "2023-05-09T16:13:27.500000",
      "content": "<p>If you are in training phase, just install the library first(like !pip install xxx),<br>\nor prepare the installation file (like .whl file), and upload to your datasets, then add the dataset to install without internet.<br>\nI find some <a href=\"https://www.kaggle.com/code/sudalairajkumar/getting-started-with-python-datatable\" target=\"_blank\">notebook</a>, fyi.<br>\nNote: If you are in inference phase, probability you have to disable internet.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2251855,
          "author_name": "",
          "author_url": "",
          "post_date": "2023-05-09T16:56:37.897000",
          "content": "",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2251866,
          "author_name": "Kevin McGoldrick",
          "author_url": "",
          "post_date": "2023-05-09T17:16:13.600000",
          "content": "<p>Never mind, i was able to install datatable from source. Thanks</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2276836,
              "author_name": "Oleksiy Kononenko",
              "author_url": "",
              "post_date": "2023-05-27T08:38:14.620000",
              "content": "<p>Instead of building datatable from source, you can just <code>!pip install</code> <a href=\"https://www.kaggle.com/datasets/kononenko/datatable\" target=\"_blank\">the appropriate pre-built wheel</a> from your kaggle notebook.</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2251757": "Apologies in advance for the basic question. I have searched and tried, but have not found a solution.\n\nWhen I copy the Notebook \"Baseline Logistic Regression only Group Level\" to a Jupyter Notebook it works. However when I try it in a Kaggle Notebook, i see the following error ModuleNotFoundError: No module named 'datatable'.\n\nI understand that it has something to do with environments. My Jupyter Notebook PIP list shows datatable, however I cannot add it to the environment in the Kaggle Notebook. \n\nAny assistance would be greatly appreciated.\n\nThanks,\nKevin",
    "2251785": "If you are in training phase, just install the library first(like !pip install xxx),\nor prepare the installation file (like .whl file), and upload to your datasets, then add the dataset to install without internet.\nI find some [notebook](https://www.kaggle.com/code/sudalairajkumar/getting-started-with-python-datatable), fyi.\nNote: If you are in inference phase, probability you have to disable internet."
  }
}