title: Installation of Python not found, Python bindings not loaded
body: <p>I am new to R.
  I am trying to do one hot coding  and am using <code>to_categorical</code> function and I am getting the error: </p>
  
  <pre><code>"Installation of Python not found, Python bindings not loaded"
  </code></pre>
  
  <p>I have already installed keras package and have loaded it as well. Even tried removing it and installing again.</p>
  
  <p><em>This is my code:</em></p>
  
  <pre><code>trainy &lt;- c(0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2)
  
  trainLabels &lt;- to_categorical(trainy)
  </code></pre>
  
  <p>I also tried the following code and got the same error: </p>
  
  <pre><code>model &lt;- keras_model_sequential()
  </code></pre>
  
  <p>Please let me know if you require any other details!<br>
  Thanks in advance.</p>