title: "Cannot find reference" when import from Keras
body: <p>Following this example to start <a href="https://machinelearningmastery.com/tutorial-first-neural-network-python-keras/" rel="nofollow noreferrer">https://machinelearningmastery.com/tutorial-first-neural-network-python-keras/</a></p>
  <pre><code># first neural network with keras tutorial
  from numpy import loadtxt
  from keras.models import Sequential
  from keras.layers import Dense
  </code></pre>
  <p>Installed numpy and keras, numpy is ok, but there are red lines under &quot;Sequential&quot; and &quot;Dense&quot;.</p>
  <p><a href="https://i.stack.imgur.com/Y02Nt.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y02Nt.gif" alt="enter image description here" /></a></p>
  <p>Here's the Error messages:</p>
  <p>Cannot find reference 'Sequential' in 'models.py'</p>
  <p>Cannot find reference 'Dense' in '<strong>init</strong>.py'</p>
  <p><a href="https://i.stack.imgur.com/rdO2s.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rdO2s.gif" alt="enter image description here" /></a></p>
  <p>Wonder how I can fix this? I had a look <a href="https://stackoverflow.com/questions/23248017/cannot-find-reference-xxx-in-init-py-python-pycharm">here</a> but think it might be a different problem?</p>
  <p>Also, on a completely different note, I can not install tensorflow for some reason? ...</p>
  <p><a href="https://i.stack.imgur.com/yWFBa.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yWFBa.gif" alt="enter image description here" /></a></p>