How to run tensorflow in atom?


I already install tensorflow with pip.
I can run the code in python IDE, and success in the shell
But when I use the Atom with atom runner, it always says “ImportError: No module named tensorflow”
Can anybody tell me what’s going on?

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


There’s a solid chance that you have multiple different versions of Python on your system and the one that the python command points at is not the one with a site-packages/tensorflow/ folder. The first thing to test is to open up Terminal and test whether python works.


Actually it doesn’t work. What should I do? Reinstall ?


Reinstall what, exactly?

When you installed tensorflow, did you do it from within the Python IDE or the command line?


The problem is solved, Thanks


Excuse me
Firstly I come from Chine so my english very bad
And could you tell how to run tensorflow in atom(Anaconda3 Python 3.6)
Thanks you!


Choose your OS and follow the steps

There has the steps of Installation with Anaconda


alright I will try again


So can someone explain how they got tensorflow working on atom? I’m still having trouble.


If you explain precisely what you are having trouble with and what you are trying to do, someone might be able to help you. What Atom packages, what code, and what version of Python you are using, plus any error messages you have seen, at the minimum. If you have a goal for what your workflow should look like and can articulate a broader vision of how you want to accomplish your work, I can offer an even more customized solution.