{
  "id": 123034,
  "title": "Is there any way to upgrade the package version or downgrade?",
  "url": "/competitions/deepfake-detection-challenge/discussion/123034",
  "author_name": "",
  "post_date": "2019-12-24T09:35:19.437858400Z",
  "votes": null,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Hi, I have a question about the package version.\nIf I want to use cv2 in version 3, is there any way to downgrade on kaggle notebook?\nthe kaggle notebook's cv2 is version 4. \nThank you!</p>",
  "messages": [
    {
      "id": "702111",
      "postDate": "12/24/2019 09:35:19",
      "content": "<p>Hi, I have a question about the package version.\nIf I want to use cv2 in version 3, is there any way to downgrade on kaggle notebook?\nthe kaggle notebook's cv2 is version 4. \nThank you!</p>",
      "rawMarkdown": "Hi, I have a question about the package version.\nIf I want to use cv2 in version 3, is there any way to downgrade on kaggle notebook?\nthe kaggle notebook's cv2 is version 4. \nThank you!",
      "votes": null
    },
    {
      "id": "702139",
      "postDate": "12/24/2019 10:09:23",
      "content": "<p>my suggestion is to import cv2 not cv3</p>",
      "rawMarkdown": "my suggestion is to import cv2 not cv3",
      "votes": null
    },
    {
      "id": "702146",
      "postDate": "12/24/2019 10:20:22",
      "content": "<p>Try downloading the wheel <a href=\"https://pypi.org/project/opencv-python/3.2.0.6/#files\">from here</a>, and then install it like it was done in <a href=\"https://www.kaggle.com/robikscube/faceforensics-baseline-dlib-no-internet\">this kernel</a>. Tell us if it worked!</p>",
      "rawMarkdown": "Try downloading the wheel [from here](https://pypi.org/project/opencv-python/3.2.0.6/#files), and then install it like it was done in [this kernel](https://www.kaggle.com/robikscube/faceforensics-baseline-dlib-no-internet). Tell us if it worked!",
      "votes": null
    },
    {
      "id": "702844",
      "postDate": "12/25/2019 08:53:38",
      "content": "<p>It works! But I just run a simple code like:\n'''''\n!pip install ../input/opencv/opencv_python-3.4.8.29-cp36-cp36m-manylinux1_x86_64.whl\nimport cv2 as cv\nprint (cv.<strong>version</strong>)\n'''''\nThe output print the 3.4.8 (original version is 4.1.2)\nI will do a full code, then report whether it is successful!</p>\n\n<p>Thanks a lot!</p>",
      "rawMarkdown": "It works! But I just run a simple code like:\n'''''\n!pip install ../input/opencv/opencv_python-3.4.8.29-cp36-cp36m-manylinux1_x86_64.whl\nimport cv2 as cv\nprint (cv.__version__)\n'''''\nThe output print the 3.4.8 (original version is 4.1.2)\nI will do a full code, then report whether it is successful!\n\nThanks a lot!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 702139,
      "author_name": "gpandi",
      "author_url": "",
      "post_date": "12/24/2019 10:09:23",
      "content": "<p>my suggestion is to import cv2 not cv3</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 702146,
      "author_name": "zaharch",
      "author_url": "",
      "post_date": "12/24/2019 10:20:22",
      "content": "<p>Try downloading the wheel <a href=\"https://pypi.org/project/opencv-python/3.2.0.6/#files\">from here</a>, and then install it like it was done in <a href=\"https://www.kaggle.com/robikscube/faceforensics-baseline-dlib-no-internet\">this kernel</a>. Tell us if it worked!</p>",
      "votes": null,
      "replies": [
        {
          "id": 702844,
          "author_name": "jerry900287",
          "author_url": "",
          "post_date": "12/25/2019 08:53:38",
          "content": "<p>It works! But I just run a simple code like:\n'''''\n!pip install ../input/opencv/opencv_python-3.4.8.29-cp36-cp36m-manylinux1_x86_64.whl\nimport cv2 as cv\nprint (cv.<strong>version</strong>)\n'''''\nThe output print the 3.4.8 (original version is 4.1.2)\nI will do a full code, then report whether it is successful!</p>\n\n<p>Thanks a lot!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "702111": "Hi, I have a question about the package version.\nIf I want to use cv2 in version 3, is there any way to downgrade on kaggle notebook?\nthe kaggle notebook's cv2 is version 4. \nThank you!",
    "702139": "my suggestion is to import cv2 not cv3",
    "702146": "Try downloading the wheel [from here](https://pypi.org/project/opencv-python/3.2.0.6/#files), and then install it like it was done in [this kernel](https://www.kaggle.com/robikscube/faceforensics-baseline-dlib-no-internet). Tell us if it worked!",
    "702844": "It works! But I just run a simple code like:\n'''''\n!pip install ../input/opencv/opencv_python-3.4.8.29-cp36-cp36m-manylinux1_x86_64.whl\nimport cv2 as cv\nprint (cv.__version__)\n'''''\nThe output print the 3.4.8 (original version is 4.1.2)\nI will do a full code, then report whether it is successful!\n\nThanks a lot!"
  },
  "source": "meta"
}