I can't use my tensorflow using atom


#1

Hi.
I installed tensorflow using anaconda prompt.
I can use it at the cmd and prompt, however, I couldn’t run it at the atom.
How can I solve this problem?
Below is the code and issue of the problem.


import tensorflow as tf
hello = tf.constant(‘Hello,Tensorflow!’)
sess = tf.Session()
print(sess.run(hello))

Python - hellotf.py:5
Traceback (most recent call last):
File “F:\Python\hellotf.py”, line 1, in
import tensorflow as tf
ModuleNotFoundError: No module named ‘tensorflow’
[Finished in 0.084s]


#2

What package are you using to run hellotf.py and how is it configured? What cmd instruction have you used that correctly imports the library?


#3

I used newest anaconda and tensorflow.
python is 3.5version.
I used conda prompt and cmd


#4

I’m not seeing a package named anaconda. What package are you using to run hellotf.py and how is it configured?

I used conda prompt and cmd

What instruction did you use in the command line? I need specifics.