# Knime Deep Learning Installation

When executing the Keras Learner Network node, which is depicted below, if you see the dependency error.

Error in Keras Network Learner Node.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051476023/6f5efea0-8447-41f4-91d4-2f247b16e036.png align="left")

Tensorflow dependency error

***Let’s see the solution regarding this.***

**Step 1:** You must first install Anaconda on your computer. From the start menu, select the Anaconda prompt as shown below.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051477762/3e9d9edf-4782-4a5e-be5c-92fff74546b8.png align="left")

Anaconda prompt

Here, we will use the following syntax to create a new environment variable.

`create -n python = 3.6`

Here, Python version 3.6 will be used since Python versions greater than this one may cause installation problems for the TensorFlow and Keras libraries because Knime does not support them.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051479739/354d30d4-fff0-40c2-adde-2119954d5027.png align="left")

creating environment variable

Now to install the particular library in our environment created we will use the **conda activate .**

Here my environment name is **myenvpy36** as shown in the below image.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051480946/cbf1fb3f-a49f-4c51-b1e7-391e33348dc2.png align="left")

**myenvpy36**

**Step 2:** Let’s set up Tensorflow and the Keras library in the environment we’ve already built.

> Note that if you just install the library using pip install TensorFlow, it will instal the higher version of tensorflow but it will not be supported in knime. We must supply the appropriate version for tensorflow and keras.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051482429/57a9ed18-ec95-4282-b8d0-58fb09fdeb98.png align="left")

Installing TensorFlow

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051483493/3ea6443b-c3ba-4b1d-9bc9-7511d9a4cb1a.png align="left")

Installing Keras

**Step 3:** Open knime and select the **file -&gt; preferences** as shown below.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051484767/880966d8-8c5e-4e17-919d-f25967a8055a.png align="left")

Now select the KNIME

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051486586/e85395bc-5075-4bd2-8fec-5a128a6e3b58.png align="left")

We must choose the **Python option** here. Here, we must click **Apply and Close** after selecting the environment that we just constructed in the previous stages.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051488189/9d857394-ef94-4b6e-b3c9-06102ec29756.png align="left")

Now similarly we have to set **options for Python Deep Learning** as shown in the below image.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051489869/263f1e46-3b65-411d-a85e-13e14d466a9b.png align="left")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051491913/e66d36d7-bf0e-4fcf-8fb8-2fc818518da2.png align="left")

select the environment which we have created

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051493697/05690f47-b64d-40b3-b1c5-a3aa4bfb72f8.png align="left")

Ignore the warning

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1703051495255/bfa59316-2772-493b-a04f-f696ed43d2ed.png align="left")

create a new environment and select the environment name as the default

Apply the same steps to TensorFlow. After you click **apply,** the problem will be fixed.

> I hope this article was informative and provided you with the details you required. If you have any questions while reading the blog, message me on [Instagram](https://www.instagram.com/acanubhav94/) or [LinkedIn](https://www.linkedin.com/in/anubhav-chaturvedi-a7465a72/).For any kind of work related to Machine Learning , Deep Learning or Knime Development you can contact me at [helpmeanubhav@gmail.com](mailto:helpmeanubhav@gmail.com)

> Thank You…
