Use tensor flow on pyCharm

I'm new to Deep Learning, and I just installed shadoworflow on my Mac, however there are some problems.

I am sure that I installed successfully, because I can run shadoworflow on Terminal using python 3.5

import tensorflow as tf  
node1 = tf.constant(3.0, tf.float32)  
node2 = tf.constant(4.0)  # also tf.float32 implicitly  
print(node1, node2)  

there is a conclusion on my bash

Tensor("Const:0", shape=(), dtype=float32) Tensor("Const_1:0", shape=(), dtype=float32)

However, when I run import tensorflow as tfon the Python Console PyCharm. There was a problem:

>>> import tensorflow as tf
ImportError: No module named 'tensorflow'
+4
source share
1 answer

PyCharm. Project Interpreter, Python, Tensorflow. PyCharm- > Preferences Project: PyCharm Project Interpreter. 3.5.2 (~/anaconda/bin/python), , Tensorflow, , . , , , , Tensorflow .

: , , , , PyCharm ? "" , . , , , , -, , "" . , ...

Community Edition, ...

+7

Source: https://habr.com/ru/post/1671963/


All Articles