{
  "id": 105620,
  "title": "Problem to activate both Rdkit+tensorflow in Anaconda ",
  "url": "/competitions/champs-scalar-coupling/discussion/105620",
  "author_name": "",
  "post_date": "2019-08-24T18:25:58.707553800Z",
  "votes": 1,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Sorry, maybe this is not very related to this phase of this kaggle but it is a great help of you if you assist me to solve this probelm\nI have a problem to activate both rdkit and tensorflow in anaconda. When I activate one of them the another is deactivate and so on! Do you have any suggestion?</p>",
  "messages": [
    {
      "id": "607184",
      "postDate": "08/24/2019 18:25:58",
      "content": "<p>Sorry, maybe this is not very related to this phase of this kaggle but it is a great help of you if you assist me to solve this probelm\nI have a problem to activate both rdkit and tensorflow in anaconda. When I activate one of them the another is deactivate and so on! Do you have any suggestion?</p>",
      "rawMarkdown": "Sorry, maybe this is not very related to this phase of this kaggle but it is a great help of you if you assist me to solve this probelm\nI have a problem to activate both rdkit and tensorflow in anaconda. When I activate one of them the another is deactivate and so on! Do you have any suggestion?",
      "votes": null
    },
    {
      "id": "607201",
      "postDate": "08/24/2019 19:19:29",
      "content": "<p>Just did this last night - I used PIP - wanted GPU - so tensorflow-gpu and keras-gpu.   Install order was RDkit - tensorflow - keras - this is on Windows 10 system.  I first did uninstall of tensorflow and keras because like you rdkit wanted to remove tensorflow.</p>",
      "rawMarkdown": "Just did this last night - I used PIP - wanted GPU - so tensorflow-gpu and keras-gpu.   Install order was RDkit - tensorflow - keras - this is on Windows 10 system.  I first did uninstall of tensorflow and keras because like you rdkit wanted to remove tensorflow.",
      "votes": null
    },
    {
      "id": "607228",
      "postDate": "08/24/2019 21:05:49",
      "content": "<p>I don't know why you need both in a single kernel/environment, but if you use Rdkit for preparing data and tensorflow for machine learning you can do it in separate kernels/environments. In a kernel, it is possible to use output data from another kernel. </p>",
      "rawMarkdown": "I don't know why you need both in a single kernel/environment, but if you use Rdkit for preparing data and tensorflow for machine learning you can do it in separate kernels/environments. In a kernel, it is possible to use output data from another kernel.",
      "votes": null
    },
    {
      "id": "607285",
      "postDate": "08/25/2019 00:44:29",
      "content": "<p><code>rdkit</code> and <code>tf</code> needs Python 3.6. It is highly likely you are on Python 3.7 anaconda dist if you keep it up-to-date automatically. The solution is to create a virtual env. When you need to run them, activate the virtual env.</p>",
      "rawMarkdown": "`rdkit` and `tf` needs Python 3.6. It is highly likely you are on Python 3.7 anaconda dist if you keep it up-to-date automatically. The solution is to create a virtual env. When you need to run them, activate the virtual env.",
      "votes": null
    },
    {
      "id": "607329",
      "postDate": "08/25/2019 03:27:42",
      "content": "<blockquote>\n  <p>When I activate one of them the another is deactivate</p>\n</blockquote>\n\n<p>It looks like you installed rdkit and tf in two different conda environments.  You should install them in the same environment.  And, as Shuhao Cao writes, create a conda env with python 3.6 first.</p>",
      "rawMarkdown": "&gt; When I activate one of them the another is deactivate\n\nIt looks like you installed rdkit and tf in two different conda environments.  You should install them in the same environment.  And, as Shuhao Cao writes, create a conda env with python 3.6 first.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 607201,
      "author_name": "pcjimmmy",
      "author_url": "",
      "post_date": "08/24/2019 19:19:29",
      "content": "<p>Just did this last night - I used PIP - wanted GPU - so tensorflow-gpu and keras-gpu.   Install order was RDkit - tensorflow - keras - this is on Windows 10 system.  I first did uninstall of tensorflow and keras because like you rdkit wanted to remove tensorflow.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 607228,
      "author_name": "somnambwl",
      "author_url": "",
      "post_date": "08/24/2019 21:05:49",
      "content": "<p>I don't know why you need both in a single kernel/environment, but if you use Rdkit for preparing data and tensorflow for machine learning you can do it in separate kernels/environments. In a kernel, it is possible to use output data from another kernel. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 607285,
      "author_name": "scaomath",
      "author_url": "",
      "post_date": "08/25/2019 00:44:29",
      "content": "<p><code>rdkit</code> and <code>tf</code> needs Python 3.6. It is highly likely you are on Python 3.7 anaconda dist if you keep it up-to-date automatically. The solution is to create a virtual env. When you need to run them, activate the virtual env.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 607329,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "08/25/2019 03:27:42",
      "content": "<blockquote>\n  <p>When I activate one of them the another is deactivate</p>\n</blockquote>\n\n<p>It looks like you installed rdkit and tf in two different conda environments.  You should install them in the same environment.  And, as Shuhao Cao writes, create a conda env with python 3.6 first.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "607184": "Sorry, maybe this is not very related to this phase of this kaggle but it is a great help of you if you assist me to solve this probelm\nI have a problem to activate both rdkit and tensorflow in anaconda. When I activate one of them the another is deactivate and so on! Do you have any suggestion?",
    "607201": "Just did this last night - I used PIP - wanted GPU - so tensorflow-gpu and keras-gpu.   Install order was RDkit - tensorflow - keras - this is on Windows 10 system.  I first did uninstall of tensorflow and keras because like you rdkit wanted to remove tensorflow.",
    "607228": "I don't know why you need both in a single kernel/environment, but if you use Rdkit for preparing data and tensorflow for machine learning you can do it in separate kernels/environments. In a kernel, it is possible to use output data from another kernel.",
    "607285": "`rdkit` and `tf` needs Python 3.6. It is highly likely you are on Python 3.7 anaconda dist if you keep it up-to-date automatically. The solution is to create a virtual env. When you need to run them, activate the virtual env.",
    "607329": "&gt; When I activate one of them the another is deactivate\n\nIt looks like you installed rdkit and tf in two different conda environments.  You should install them in the same environment.  And, as Shuhao Cao writes, create a conda env with python 3.6 first."
  },
  "source": "meta"
}