title: Unable to import a keras application
body: <p>I am trying to use a <code>keras</code> application in pycharm. I start my script off with the following imports:</p>
  <pre><code>from keras_vggface.vggface import VGGFace
  from keras_vggface.utils import preprocess_input
  from keras_vggface.utils import decode_predictions
  </code></pre>
  <p>Upon running this block of code, I get this error:</p>
  <pre><code>ImportError: You need to first `import keras` in order to use `keras_applications`. For instance, you can do:
  
  ```
  import keras
  from keras_applications import vgg16
  ```
  
  Or, preferably, this equivalent formulation:
  
  ```
  from keras import applications
  ```
  </code></pre>
  <p>I have tried importing the appropriate keras libraries as suggested, but the problem persists. I have also tried checking the json file to see if it contains the correct backend(it does).</p>
  <p>How can I resolve this issue?</p>
  <h2>&quot;edit for clarity&quot;</h2>
  <p>My full imports go as follows:</p>
  <pre><code>from PIL import Image # for extracting image
  from numpy import asarray
  from numpy import expand_dims
  
  from matplotlib import pyplot
  from mtcnn.mtcnn import MTCNN # because i am too lazy to make one myself
  import keras
  from keras_applications import vgg16
  
  from keras_vggface.vggface import VGGFace
  from keras_vggface.utils import preprocess_input
  from keras_vggface.utils import decode_predictions
  </code></pre>
  <p>Traceback:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:/Users/###/PycharmProjects/##/#.py&quot;, line 17, in &lt;module&gt;
      from keras_applications import vgg16
    File &quot;C:\Users\###\anaconda3\envs\tensor\lib\site-packages\keras_applications\vgg16.py&quot;, line 17, in &lt;module&gt;
      backend = get_keras_submodule('backend')
    File &quot;C:\Users\###\anaconda3\envs\tensor\lib\site-packages\keras_applications\__init__.py&quot;, line 39, in get_keras_submodule
      raise ImportError('You need to first `import keras` '
  ImportError: You need to first `import keras` in order to use `keras_applications`. For instance, you can do:
  
  ```
  import keras
  from keras_applications import vgg16
  ```
  
  Or, preferably, this equivalent formulation:
  
  ```
  from keras import applications
  ```
  
  
  Process finished with exit code 1
  </code></pre>