Can not use tensorflow in pycharm
<p>I can ran tensorflow in anaconda command line successfully, but when I ran it in pycharm, it complains for not finding tensorflow, but I do find it in the package of this python interpreter. Is there anything else I need to do ? Thanks</p>

<p><a href="http://i.stack.imgur.com/gVOJe.png" rel="nofollow"><img src="http://i.stack.imgur.com/gVOJe.png" alt="enter image description here"></a></p>

<p><a href="http://i.stack.imgur.com/afyM8.png" rel="nofollow"><img src="http://i.stack.imgur.com/afyM8.png" alt="enter image description here"></a></p>

<p>Looking at the console, your <code>.py</code> file is <em>also</em> called <code>tensorflow</code>, so when you do <code>import tensorflow as tf</code>, you end up trying to import things from the same file.</p>

<p>Rename your own file to something else, such as <code>tensorflow_test_1.py</code> or whatnot. :)</p>

python pycharm tensorflow