{
  "id": 169739,
  "title": "How to install additional libraries",
  "url": "/competitions/global-wheat-detection/discussion/169739",
  "author_name": "",
  "post_date": "2020-07-25T04:10:49.736691500Z",
  "votes": null,
  "comment_count": 10,
  "views": 0,
  "content": "<p>On the local computer, I need to run the configuration command in the command line:\ncd libs/box_utils/cython_utils\npython setup.py install\npython setup.py build_ext --inplace\nBut I don’t know how to do this on kaggle notebook，so please help me find a way</p>",
  "messages": [
    {
      "id": "944372",
      "postDate": "07/25/2020 04:10:49",
      "content": "<p>On the local computer, I need to run the configuration command in the command line:\ncd libs/box_utils/cython_utils\npython setup.py install\npython setup.py build_ext --inplace\nBut I don’t know how to do this on kaggle notebook，so please help me find a way</p>",
      "rawMarkdown": "On the local computer, I need to run the configuration command in the command line:\ncd libs/box_utils/cython_utils\npython setup.py install\npython setup.py build_ext --inplace\nBut I don’t know how to do this on kaggle notebook，so please help me find a way",
      "votes": null
    },
    {
      "id": "944373",
      "postDate": "07/25/2020 04:12:30",
      "content": "<p>!pip install libraryname.\nYou can run this in your kernel.\neg\n!pip install tensorflow</p>",
      "rawMarkdown": "!pip install libraryname.\nYou can run this in your kernel.\neg\n!pip install tensorflow",
      "votes": null
    },
    {
      "id": "944387",
      "postDate": "07/25/2020 04:30:05",
      "content": "<p>Thank you for your reply！But I need to operate on the py file instead of installing the published library.</p>",
      "rawMarkdown": "Thank you for your reply！But I need to operate on the py file instead of installing the published library.",
      "votes": null
    },
    {
      "id": "944389",
      "postDate": "07/25/2020 04:34:55",
      "content": "<p>I need to operate on the py file instead of installing the published library.Can you describe?</p>",
      "rawMarkdown": "I need to operate on the py file instead of installing the published library.Can you describe?",
      "votes": null
    },
    {
      "id": "944422",
      "postDate": "07/25/2020 05:36:28",
      "content": "<p>I'm not really sure what you're asking but if it's the issue with installing libraries in offline mode, try installing the libraries using the .whl files.</p>",
      "rawMarkdown": "I'm not really sure what you're asking but if it's the issue with installing libraries in offline mode, try installing the libraries using the .whl files.",
      "votes": null
    },
    {
      "id": "944556",
      "postDate": "07/25/2020 07:28:03",
      "content": "<p>What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command</p>",
      "rawMarkdown": "What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command",
      "votes": null
    },
    {
      "id": "944557",
      "postDate": "07/25/2020 07:28:09",
      "content": "<p>What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command</p>",
      "rawMarkdown": "What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command",
      "votes": null
    },
    {
      "id": "944616",
      "postDate": "07/25/2020 08:02:06",
      "content": "<p>I got your question. see in the below post\n<a href=\"https://zerowithdot.com/colab-workspace/\">https://zerowithdot.com/colab-workspace/</a>\nyou might get answer.</p>",
      "rawMarkdown": "I got your question. see in the below post\nhttps://zerowithdot.com/colab-workspace/\nyou might get answer.",
      "votes": null
    },
    {
      "id": "944620",
      "postDate": "07/25/2020 08:03:53",
      "content": "<p>If you got your answer in google colab .Then you will get same in kaggle. As above post for google colab.</p>",
      "rawMarkdown": "If you got your answer in google colab .Then you will get same in kaggle. As above post for google colab.",
      "votes": null
    },
    {
      "id": "945162",
      "postDate": "07/25/2020 15:54:33",
      "content": "<p>%cd libs/box_utils/cython_utils python setup.py.....................</p>",
      "rawMarkdown": "%cd libs/box_utils/cython_utils python setup.py.....................",
      "votes": null
    },
    {
      "id": "945170",
      "postDate": "07/25/2020 16:03:22",
      "content": "<p>One option could be to add all the files into a new dataset, add it to your project and install.</p>",
      "rawMarkdown": "One option could be to add all the files into a new dataset, add it to your project and install.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 944373,
      "author_name": "aman2000jaiswal",
      "author_url": "",
      "post_date": "07/25/2020 04:12:30",
      "content": "<p>!pip install libraryname.\nYou can run this in your kernel.\neg\n!pip install tensorflow</p>",
      "votes": null,
      "replies": [
        {
          "id": 944387,
          "author_name": "vvvshazhihun",
          "author_url": "",
          "post_date": "07/25/2020 04:30:05",
          "content": "<p>Thank you for your reply！But I need to operate on the py file instead of installing the published library.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 944389,
          "author_name": "aman2000jaiswal",
          "author_url": "",
          "post_date": "07/25/2020 04:34:55",
          "content": "<p>I need to operate on the py file instead of installing the published library.Can you describe?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 944556,
          "author_name": "vvvshazhihun",
          "author_url": "",
          "post_date": "07/25/2020 07:28:03",
          "content": "<p>What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 944616,
          "author_name": "aman2000jaiswal",
          "author_url": "",
          "post_date": "07/25/2020 08:02:06",
          "content": "<p>I got your question. see in the below post\n<a href=\"https://zerowithdot.com/colab-workspace/\">https://zerowithdot.com/colab-workspace/</a>\nyou might get answer.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 944620,
          "author_name": "aman2000jaiswal",
          "author_url": "",
          "post_date": "07/25/2020 08:03:53",
          "content": "<p>If you got your answer in google colab .Then you will get same in kaggle. As above post for google colab.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 944422,
      "author_name": "jonykarki",
      "author_url": "",
      "post_date": "07/25/2020 05:36:28",
      "content": "<p>I'm not really sure what you're asking but if it's the issue with installing libraries in offline mode, try installing the libraries using the .whl files.</p>",
      "votes": null,
      "replies": [
        {
          "id": 944557,
          "author_name": "vvvshazhihun",
          "author_url": "",
          "post_date": "07/25/2020 07:28:09",
          "content": "<p>What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 945170,
          "author_name": "jonykarki",
          "author_url": "",
          "post_date": "07/25/2020 16:03:22",
          "content": "<p>One option could be to add all the files into a new dataset, add it to your project and install.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 945162,
      "author_name": "salazarslytherin",
      "author_url": "",
      "post_date": "07/25/2020 15:54:33",
      "content": "<p>%cd libs/box_utils/cython_utils python setup.py.....................</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "944372": "On the local computer, I need to run the configuration command in the command line:\ncd libs/box_utils/cython_utils\npython setup.py install\npython setup.py build_ext --inplace\nBut I don’t know how to do this on kaggle notebook，so please help me find a way",
    "944373": "!pip install libraryname.\nYou can run this in your kernel.\neg\n!pip install tensorflow",
    "944387": "Thank you for your reply！But I need to operate on the py file instead of installing the published library.",
    "944389": "I need to operate on the py file instead of installing the published library.Can you describe?",
    "944422": "I'm not really sure what you're asking but if it's the issue with installing libraries in offline mode, try installing the libraries using the .whl files.",
    "944556": "What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command",
    "944557": "What I need to install is a third-party library, they are not hosted on the official source, need to manually compile and install through my above command",
    "944616": "I got your question. see in the below post\nhttps://zerowithdot.com/colab-workspace/\nyou might get answer.",
    "944620": "If you got your answer in google colab .Then you will get same in kaggle. As above post for google colab.",
    "945162": "%cd libs/box_utils/cython_utils python setup.py.....................",
    "945170": "One option could be to add all the files into a new dataset, add it to your project and install."
  },
  "source": "meta"
}